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 PatternsCardFilterFormLink with iconLogo wallSearch barSticky bannerSticky cardTabsTagTile
Personalization All Personalization PatternsAnnouncement
Accessibility FundamentalsAccessibility toolsAssistive technologiesCI/CDContentContributorsDesignDevelopmentManual testingResourcesScreen readers
Design/code status Release notes Get support

Scheme toggle

OverviewStyleGuidelinesCodeAccessibilityDemos
StyleColor schemeSpaceInteraction statesStyleColor schemeSpaceInteraction states

Style

A scheme toggle is three radio buttons visually grouped in a button group next to a text label.

Anatomy

A scheme toggle with the label (1), light scheme button (2), dark scheme button (3), and the system default button (4).
  1. Legend label
  2. Light scheme (selected)
  3. Dark scheme
  4. System default scheme

Color scheme

A scheme toggle is available in both light and dark color schemes.

Light Scheme

Two light scheme toggles, one with the label on the left and one with the label on top, each with the light scheme button active.

Dark scheme

Two dark scheme toggles, one with the label on the left and one with the label on top, each with the light scheme button active.

Space

Scheme toggle has 16px of spacing between icons and button borders horizontally, and 8px vertically. The color scheme label has 16px of margin on the inline axis, and only 8px of margin bottom on the block axis.

Interaction states

Interaction states are visual representations used to communicate the status of an element or pattern.

Hover

The selected color scheme button does not have a hover state.

A scheme toggle has a gray background on hover.

Focus and active

As soon as focus is moved to another button, the color scheme changes immediately.

Helpful tip

Focus and Active states are the same.

Scheme toggles have a blue focus ring that outlines the currently selected scheme button.
© 2025 Red Hat Deploys by Netlify