States
Disable Group
Disable Item
Read-Only Group
Orientation
Set orientation="vertical" to enable a vertical layout.
Alternative
Consider using a Skeleton Button Group if you need finer grain control over the markup and styling.
Anatomy
 <Segment>     indicator     <Segment.item>     label     (unlabeled)    API Reference
Segment
| Property | Type | Description | 
|---|---|---|
 base   |   string |   |  
 background   |   string |   |  
 border   |   string |   |  
 flexDirection   |   string |   |  
 gap   |   string |   |  
 padding   |   string |   |  
 rounded   |   string |   |  
 width   |   string |   |  
 classes   |   string |   |  
 orientVertical   |   string |   |  
 orientHorizontal   |   string |   |  
 stateDisabled   |   string |   |  
 stateReadOnly   |   string |   |  
 indicatorBase   |   string |   |  
 indicatorBg   |   string |   |  
 indicatorText   |   string |   |  
 indicatorRounded   |   string |   |  
 indicatorClasses   |   string |   |  
 labelledby   |   string |   |  
 children   |   ReactNode |   |  
 orientation   |   "horizontal" | "vertical" |   |  
 ids   |     Partial<{ root: string; label: string; indicator: string; item(value: string): string; itemLabel(value: string): string; itemControl(value: string): string; itemHiddenInput(value: string): string; }>   |     |  
 value   |   string |   |  
 defaultValue   |   string |   |  
 disabled   |   boolean |   |  
 onValueChange   |     (details: ValueChangeDetails) => void   |     |  
 dir   |   "ltr" | "rtl" |   |  
 getRootNode   |     () => ShadowRoot | Node | Document   |     |  
 name   |   string |   |  
 form   |   string |   |  
 readOnly   |   boolean |   |  
SegmentItems
| Property | Type | Description | 
|---|---|---|
 base   |   string |   |  
 classes   |   string |   |  
 stateDisabled   |   string |   |  
 stateFocused   |   string |   |  
 labelBase   |   string |   |  
 labelClasses   |   string |   |  
 children   |   ReactNode |   |  
 value *  |   string |   |  
 disabled   |   boolean |   |