Button API
API reference for the Button components.
booleanDisables the button — fully non-interactive, removed from tab order
Default: false
booleanNon-clickable but looks normal, remains focusable/hoverable
booleanNon-clickable, looks disabled via [data-passive], remains focusable/hoverable
Default: false
booleanTriggers loading state with grace period before visual indicator
Default: false
numberDuration in ms before loading UI appears (0 to show immediately)
Default: 0
VValue for use inside Button.Group
stringNamespace for context provision to children
Default: "v0:button:root"
stringNamespace for connecting to parent Button.Group
Default: "v0:button:group"
stringForm field name — auto-renders HiddenInput when set
stringAssociate with form by ID
stringAccessible label for the button
IDUnique identifier for ticket registration
Default: useId()
stringNamespace for context injection from parent Button.Root
Default: "v0:button:root"
stringNamespace for dependency injection
Default: "v0:button:group"
booleanDisables the entire button group
Default: false
booleanSingle (default) or multi-select
Default: false
boolean | "force"Controls mandatory selection behavior:
- false (default): No mandatory enforcement
- true: Prevents deselecting the last selected item
- `force`: Automatically selects the first non-disabled item on registration
Default: false
stringAccessible name for the group
stringID of element that labels this group
stringID of element that describes this group
stringSubmitted value (defaults to 'on')
stringNamespace for context injection from parent Button.Root
Default: "v0:button:root"
stringAssociate with form by ID
stringNamespace for context injection from parent Button.Root
Default: "v0:button:root"
IDUnique identifier for ticket registration
Default: useId()
stringNamespace for context injection from parent Button.Root
Default: "v0:button:root"