Foundations
Components
- Accordion
- Alert Dialog
- Avatar
- Badge
- Banner
- BreadcrumbSOON
- Button
- Button Group
- Calendar
- Callout
- Card
- Checkbox
- CodeblockSOON
- Color Picker
- Container
- Control Group
- Dialog
- Dropdown
- File Uploader
- FlexBox
- FormSOON
- Grid View
- IconSOON
- ImageSOON
- Input
- Link
- List
- MenuSOON
- PaginationSOON
- Popover
- Progress
- Radio
- Section
- Select
- Separator
- Skeleton
- SliderSOON
- SpinnerSOON
- Switch
- Table
- Tabs
- Tag
- Textarea
- ToastSOON
- Tooltip
Accordion
Tidy up your content with our Accordion - a neat stack of titles ready to reveal their secrets on a single tapExample
API Reference
It builds on top of Radix-UI Accordion
Component Properties
Accordion
Acts as RadixUI's Accordion.Root. Most of the props available here can be used on the Accordion component
Prop | Type | Default | Explanation |
---|---|---|---|
variant | enum | stacked | The variant style of the accordion list. |
type | enum | single | Determines whether one or multiple items can be opened at the same time. |
Accordion.Item
A styled wrapper around RadixUI's Accordion.Item. Check here for the original props available
Accordion.Header
Prop | Type | Default | Explanation |
---|---|---|---|
arrow | boolean | true | (Optional) Show animated arrow on the right of the heading |