Usage
Yes. It adheres to the WAI-ARIA design pattern.
The value
prop in ::accordion-item
is auto-generated by default. You can set them to other unique values and put them in the default-value
prop of ::accordion
.
Props
::accordion-item
type'single' | 'multiple'
'single'
collapsibleboolean
undefined
defaultValuestring | string[]
::accordion
valuestring
titlestring
contentstring