Accordion
Add Accordions to your documentation
Usage
Based on Radix UI Accordion.
Accordions
Prop | Type | Default |
---|---|---|
type | "single" | "multiple" | - |
disabled | boolean | false |
asChild | boolean | - |
orientation | "horizontal" | "vertical" | vertical |
Accordion
Prop | Type | Default |
---|---|---|
disabled | boolean | false |
asChild | boolean | - |
Linking to Accordion
You can specify an id
for accordion. The accordion will automatically open when the user is navigating to the page with the specified id
in hash parameter.
The value of accordion is same as title by default. When an id presents, it will be used as the value instead.
Last updated on