Build vertically collapsing accordions in combination with the Collapse component.
Click the accordions below to expand/collapse the accordion content.
Add flush
to remove the default background-color, some borders, and some rounded corners to render accordions edge-to-edge with their parent container.
Use .accordion-card
Use .accordion-card-shadow
Use .accordion-card-bold
Use .accordion-card-bold
Use .accordion-soft
Use .accordion-soft
Use .accordion-card .accordion-card-shadow .accordion-soft
Use .accordion-soft .accordion-card-bold
Use .accordion-soft
Use .accordion-soft
class with flush
props.
Use .accordion-soft
Use .accordion-soft
Use .accordion-simple
Use .accordion-simple
with flush
prop
Use .accordion-simple
and .accordion-card
Use .accordion-simple, .accordion-card
and .accordion-card-shadow
Use .accordion-simple
, .accordion-card
and .accordion-card-bold
.
Use .accordion-icon
Use .accordion-icon
You can make accordion items stay open when another item is opened by using the alwaysOpen
prop.