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.
defaultOpen
Default: "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
Was this page helpful?
<Accordion title="I am an Accordion.">
You can put any content in here.
</Accordion>