Collapsible
The collapsible component enables progressive experiences and efficiency within the UI by standardizing how visual groupings can collapse and expand to reveal more or less information.
Anatomy
- Container
- Content area
- Quick action button (optional)
- Divider
Content regions
While the collapsible component is not consistently made up of specific atoms or molecules, it always contains a content area with two distinct regions: the primary region and the secondary region. The primary region contains all content that is visible before the user interacts with the component. The secondary region contains all content that becomes visible after the user interacts with the component. Both regions are independent, meaning each region may contain unique content inside.
Quick action button
In addition to the content regions, an optional caret quick action button may be included if the affordance is absolutely necessary. Because users are familiar with interacting with a variety of interface patterns, avoid using the caret whenever possible. The quick action button should rarely, if ever, be used on mobile. While the medium emphasis quick action button is shown here, any size or emphasis of the quick action button may be used.
States
Placement
There are no placement considerations for this component.
Developer Docs
Vue Developer DocsComponent documentation coming soon!