Accordion
An accordion is a list of clickable headers that reveal or hide content, allowing large information to be displayed compactly.
Accordion
Coming soon
New
4
components
,
50
variants
,
styles
Accordion
Base Components
Overview
An accordion is a vertically stacked list of headers that can be clicked to reveal or hide content associated with them. This component allows for the inclusion of large amounts of information in a compact space by collapsing and expanding sections as needed.
When should you use them?
Use accordions when you need to organize content into manageable sections, especially when dealing with lengthy information that can be categorized. They are particularly useful for FAQs, product features, or detailed specifications.
Best practices when using Accordions:
- Ensure that the headers are clear and descriptive to indicate the content within.
- Limit the number of accordion items to avoid overwhelming the user.
- Make sure that accordions are keyboard accessible and screen reader friendly.
- Provide visual cues for expanding and collapsing sections.
- Maintain consistency in the design and behavior of the accordion across the application.
No previous post
No next post