- Organization Components
- Accordions
Organization Components
Accordions
A dropdown component for toggling content
<Accordion title="I am an Accordion.">
You can put any content in here.
</Accordion>
Props
titleRequired
string
Title in the Accordion preview.
description
string
Detail below the title in the Accordion preview.
defaultOpenDefault: false
boolean
Whether the Accordion is open by default.
icon
string or svg
A Font Awesome icon or SVG code in icon={}
iconType
string
One of regular
, solid
, light
, thin
, sharp-solid
, duotone
, brands
<Accordion title="I am an Accordion.">
You can put any content in here.
</Accordion>