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
GuidelinesWriting contentBehaviorResponsive designBest practicesGuidelinesWriting contentBehaviorResponsive designBest practices

Guidelines

Use a disclosure to reveal more information or details about an element or content on a page.

Disclosure vs. Accordion

Use a disclosure to organize information that is either not critical for users to read or no longer fits on the page due to small screens. A disclosure displays a single section of content whereas an Accordion displays multiple sections that can be expanded simultaneously.

One open disclosure, one accordion. Text describing the disclosure: 'A disclosure on a product page displaying secondary information about trials.' Text describing the accordion: 'An accordion with multiple sections displaying important information about subscriptions.'

Writing content

Title text

Title text should be simple so users know what to expect when they expand a disclosure. Beware that long character counts will break to two lines as screen sizes get smaller.

Character count

Element Character Count
Title Text 50

Panel content

When a disclosure is expanded, content appears below the title text and caret icon. Try and limit panel content to text and simple components only like calls to action.

Behavior

Collapsing and expanding

When a disclosure is collapsed, the caret icon points down. When a disclosure is expanded, the caret icon animates to point up.

Nested disclosure

If there is a nested disclosure, it is always collapsed by default until a user expands it.

An open outer disclosure and a collapsed inner disclosure.

A disclosure can be used to organize interactive elements that do not fit on small screens like jump links.

A closed and open disclosure with jump links in the panel content.

Responsive design

A disclosure does not change much as screens get smaller.

Four disclosures at various viewports, mobile to desktop.

Best practices

One panel only

A single collapsed disclosure

Use one disclosure for one section at a time.

Multiple disclosures on top of one another.

Do not stack disclosures, use an [Accordion](/elements/accordion/) instead if more than one section is needed.

Line length

An open disclosure with a line length of 789px.

Keep the max width of body text at 789px.

An open disclosure with a line length greater than 798px.

Do not allow the max width of body text to exceed 789px otherwise it is hard to read.

Nesting components

An open disclosure with a paragraph, CTA, and a closed nested disclosure.

Only a disclosure and other simple components like calls to action can be nested within a disclosure.

An open disclosure with an accordion with three closed panels within.

Do not embed other complex components in a disclosure.

© 2021-2025 Red Hat, Inc. Deploys by Netlify