options-
(string | { value, label?, icon?, activeIcon?, disabled? })[]The choices, left to right. A string is its own value and label. An object can add an icon, an activeIcon shown in its place while selected (a filled drawing), a different label, or disabled; label: null shows the icon alone and uses value as its accessible name.
value-
stringControlled value: the selected option's value. Pass with onValueChange.
defaultValuethe first enabled option
stringSelected option on first render when uncontrolled.
onValueChange-
(value: string) => voidCalled with the new value when an option is picked by click or arrow key.
label-
stringAccessible name of the group, such as "Size". Set it unless a visible label names the group through aria-labelledby.
size"md"
"sm" | "md" | "lg"Option height: 24, 28 or 32px, with 11, 12 or 13px text.
fillfalse
booleanStretches the group to its container and splits it into equal options.
name-
stringForm field name; the selected value submits with the form.
disabledfalse
booleanDisables every option. Single options are disabled through options.
classNames-
TabsClassNamesSlot classes: option (each pill's label) and indicator (the sliding pill).