Components
Accordion

Accordion

A collapsible component that displays content in a vertical stack.

API Reference

Root

PropTypeDefault
asChild
boolean
collapsible
boolean
defaultValue
string[]
dir
'ltr' | 'rtl'
disabled
boolean
getRootNode
() => ShadowRoot | Node | Document
id
string
ids
Partial<{ root: string item(value: string): string content(value: string): string trigger(value: string): string }>
multiple
boolean
onFocusChange
(details: FocusChangeDetails) => void
onValueChange
(details: ValueChangeDetails) => void
orientation
'horizontal' | 'vertical'
value
string[]

Item

PropTypeDefault
value
string
asChild
boolean
disabled
boolean

ItemContent

PropTypeDefault
asChild
boolean
lazyMount
boolean
onExitComplete
() => void
present
boolean
unmountOnExit
boolean

ItemTrigger

PropTypeDefault
asChild
boolean

ItemIndicator

PropTypeDefault
asChild
boolean