Components
Toggle Button
이 문서는 정리 중이에요. 문의 내용은 #_design_core 채널을 찾아주세요.
개요
옵션 테이블
속성 | 값 | 기본값 |
---|---|---|
variant | brand solid, neutral weak | |
size | xsmall, small | small |
disabled | true, false | false |
loading | true, false | false |
prefix icon | icon | |
suffix icon | icon |
링크
스펙
base
상태 | 슬롯 | 속성 | 값 |
---|---|---|---|
enabled | root | colorDuration | |
colorTimingFunction | |||
label | fontWeight |
variant=brandSolid
상태 | 슬롯 | 속성 | 값 |
---|---|---|---|
enabled | root | color | |
label | color | ||
prefixIcon | color | ||
suffixIcon | color | ||
progressCircle | trackColor | ||
rangeColor | |||
pressed | root | color | |
selected | root | color | |
label | color | ||
prefixIcon | color | ||
suffixIcon | color | ||
progressCircle | trackColor | ||
rangeColor | |||
selected, pressed | root | color | |
disabled | root | color | |
label | color | ||
prefixIcon | color | ||
suffixIcon | color | ||
loading | root | color | |
selected, loading | root | color |
variant=neutralWeak
상태 | 슬롯 | 속성 | 값 |
---|---|---|---|
enabled | root | color | |
label | color | ||
prefixIcon | color | ||
suffixIcon | color | ||
progressCircle | trackColor | ||
rangeColor | |||
pressed | root | color | |
selected | root | color | |
label | color | ||
prefixIcon | color | ||
suffixIcon | color | ||
progressCircle | trackColor | ||
rangeColor | |||
selected, pressed | root | color | |
disabled | root | color | |
label | color | ||
prefixIcon | color | ||
suffixIcon | color | ||
loading | root | color | |
selected, loading | root | color |
size=xsmall
상태 | 슬롯 | 속성 | 값 |
---|---|---|---|
enabled | root | minHeight | |
cornerRadius | |||
gap | |||
paddingX | |||
paddingY | |||
prefixIcon | size | ||
suffixIcon | size | ||
label | fontSize | ||
lineHeight | |||
progressCircle | size | 14px | |
thickness | 2px |
size=small
상태 | 슬롯 | 속성 | 값 |
---|---|---|---|
enabled | root | minHeight | |
cornerRadius | |||
gap | |||
paddingX | |||
paddingY | |||
prefixIcon | size | ||
suffixIcon | size | ||
label | fontSize | ||
lineHeight | |||
progressCircle | size | 14px | |
thickness | 2px |