Components
Segmented Control
서로 배타적인 옵션 중 하나를 선택할 수 있게 해주는 컴포넌트입니다. 2-5개의 밀접하게 관련된 선택지를 제공할 때 사용됩니다.
개요
옵션 테이블 (Segment)
속성 | 값 | 기본값 |
---|---|---|
selected | true, false | false |
disabled | true, false | false |
label | string |
스펙 (Segmented Control)
base
상태 | 슬롯 | 속성 | 값 |
---|---|---|---|
enabled | root | padding | |
cornerRadius | |||
color | |||
indicator | color | ||
cornerRadius | |||
strokeWidth | 1px | ||
strokeColor | |||
shadow | 0px 1px 6px 0px #0000000d | ||
transformDuration | |||
transformTimingFunction |
스펙 (Segmented Control Item)
base
상태 | 슬롯 | 속성 | 값 |
---|---|---|---|
enabled | root | minWidth | 86px |
minHeight | 34px | ||
paddingX | |||
paddingY | |||
cornerRadius | |||
gap | |||
colorDuration | |||
colorTimingFunction | |||
label | fontSize | ||
lineHeight | |||
fontWeight | |||
color | |||
colorDuration | |||
colorTimingFunction | |||
pressed | root | color | |
selected | label | color | |
selected, pressed | root | color | |
disabled | label | color | |
disabled, selected | root | color |
Last updated on