Skip to main content Home
About About the Design SystemRoadmap
Get started OverviewDesignersDevelopers
Foundations OverviewColorGridIconographySpacingTypography
Tokens Overview Global colorbox shadowTypographyborderopacityspacelengthIconBreakpointsMedia Queries
Elements All elements Accordion Alert Announcement Audio player Avatar Back to top Badge Blockquote Breadcrumb Button Card Chip Code block Call to action Dialog Disclosure Footer Health index Icon Jump links Navigation (primary) Navigation (secondary) Pagination PopoverPlanned Progress stepsPlanned Site status Skip link Spinner Statistic Subnavigation Surface Switch Table Tabs Tag Tile Timestamp Tooltip Video embed
Theming OverviewColor PalettesCustomizingDevelopers
Patterns All PatternsCardTabsFilterFormLinkLink with iconLogo wallSearch barSkip navigationSticky bannerSticky cardTileVideo thumbnail
Personalization All Personalization PatternsAnnouncement
Accessibility FundamentalsAccessibility toolsAssistive technologiesCI/CDContentContributorsDesignDevelopmentManual testingResourcesScreen readers
Design/code status Release notes Get support

Disclosure

OverviewStyleGuidelinesCodeAccessibilityDemos
StyleColor schemeConfigurationSpaceInteraction statesStyleColor schemeConfigurationSpaceInteraction states

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

Anatomy of a disclosure component with numbered annotations.
  1. Caret icon
  2. Title text
  3. Container
  4. Thick border
  5. Box shadow

Color scheme

Light scheme

Two disclosures. One closed, one open on a light color scheme.

Dark scheme

Two disclosures. One closed, one open on a dark color scheme.

Configuration

A disclosure includes two parts, a trigger that the user selects and the container that opens and discloses the content.

Two disclosures, one open and one closed showing the alignment of the chevron with the trigger text. Below the disclosures is an accordion with the text, 'Accordion panels have the caret icon on the right to differentiate.'

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.

Two open disclosures, each with a nested disclosure. The top nested disclosure is closed while the bottom is open.

Space

Three disclosures. The top one is closed, the middle one is open, and the bottom one is open with a nested disclosure. There's 16px on the top and bottom of the trigger, 24px on the left and right. There's 24px padding on the open disclosure content.

Interaction states

Hover

The entire trigger button surface changes color on hover.

Two open disclosures, one open, one closed. Each showing the gray hover state of the disclosure's trigger. Two open disclosures on a dark color scheme, one open, one closed. Each showing the gray hover state of the disclosure's trigger.
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.

Two open disclosures, one open, one closed. Each showing the gray focus state of the disclosure's trigger plus the blue focus outline. Two open disclosures on a dark color scheme, one open, one closed. Each showing the gray focus state of the disclosure's trigger plus the blue focus outline.
© 2021-2025 Red Hat, Inc. Deploys by Netlify