Skip to main content Home
About About the Design SystemRoadmap
Get started OverviewDesignersDevelopers
Foundations OverviewColorGridIconographyInteractionsSpacingTypography
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 stepper Scheme toggle Site status Skeleton Skip link Spinner Statistic Subnavigation Surface Switch Table Tabs Tag Tile Timestamp Tooltip Video embed
Theming OverviewColor PalettesCustomizingDevelopers
Patterns All PatternsAccordionCardFilterFormLink with iconLogo wallSearch barSticky bannerSticky cardTabsTagTile
Personalization All Personalization PatternsAnnouncement
Accessibility FundamentalsAccessibility toolsAssistive technologiesCI/CDContentContributorsDesignDevelopmentManual testingResourcesScreen readers
Design/code status Release notes Get support

Accordion

OverviewExamples
OverviewUsageOverviewUsage

Overview

A pattern that automatically expands accordion panels when users navigate to URLs with hash fragments (like #panel-id). This pattern is useful when linking to a specific accordion header or content within a panel.

Usage

  • Linking to expand the North Panel on the examples page.
  • Linking to expand the East Panel on the examples page.
  • Linking to expand the South Panel on the examples page.
  • Linking to expand the West Panel on the examples page.
  • Linking to the "Best" <a> href> and expand the West Panel on the examples page.
© 2025 Red Hat Deploys by Netlify