Disclosure
On this page
On this page
Style
A disclosure is a container that includes a caret icon and a text label, similar to an Accordion panel. When expanded, some styles are added for emphasis.
Anatomy
- Caret icon
- Title text
- Container
- Thick border
- Box shadow
Color scheme
Light scheme
Dark scheme
Configuration
A disclosure includes two parts, a trigger that the user selects and the container that opens and discloses the content.
Nested disclosure
Only one additional disclosure can be nested to help organize content better. If you need to use more disclosures, use an Accordion instead.
Space
Interaction states
Hover
The entire trigger button surface changes color on hover.
Property | Light Scheme | Dark Scheme |
---|---|---|
Trigger button surface color | --rh-color-surface-lighter |
--rh-color-surface-dark |
Focus and Active
A focus ring wraps around the entire trigger button in both focus and active states.
Other libraries
To learn more about our other libraries, visit this page.
Feedback
To give feedback about anything on this page, contact us.