- 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
title
required
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
<Accordion title="I am an Accordion.">
You can put any content in here.
</Accordion>