Accordion is a component that allows for the expansion and collapsing of content
The component can be imported via:
The component can be used like so:
The component can be opened by default. Note that this only affects initial state, and the user can open and close the component as they please.
The wind blew, and the trumpets sang, and arrows whined; but the sun now climbing towards the South was veiled in the reeks of Mordor, and through a threatening haze it gleamed, remote, a sullen red, as if it were the ending of the day, or the end maybe of all the world of light. And out of the gathering mirk the Nazgûl came with their cold voices crying words of death; and then all hope was quenched.
Would your hope be quenched?You can prevent an accordion from being opened by disabling it with the isDisabled property.
You can include custom content in the title area:
Custom Title with Paragraph
Custom Content with Paragraph
PlumaAccordion extends BoxDefault:false
Whether the accordion is open or closed by default
Default:false
Whether the accordion is disabled
Called whenever the accordion is opened/closed
Default:borderless
The visual style variant of the accordion.
PlumaAccordionContent extends BoxPlumaAccordionTitle extends Box