A collapse component is a user interface element that is used to hide or display content dynamically.
Expandable
Preview
Uses
When to use
When not to use
Behaviour
The collapse component typically has a title or description that makes an introduction to the hidden content and a button that allows the user to expand or collapse the content. When the user clicks on the button the content is displayed or hidden, as appropriate.
Collapse components are often used to reduce visual overload and improve the organization of content on a web page or mobile application. They can also be used to display content progressively, allowing the user to access more information as they need it.
Actions
States
Accessibility
This component has been validated to meet the accessibility requirements of UNE-EN 301549:2022, which includes the criteria of WCAG 2.1 (AA), however, changes in content and styles can affect accessibility compliance. We must make sure to review and follow the guidelines in this section when you update or add new content or style to this component.