Skip to main content Home About the Design SystemRoadmap OverviewDesignersDevelopers OverviewColorGridIconographyInteractionsSpacingTypography Overview Global colorBox shadowTypographyBorderOpacitySpaceLengthIconBreakpointsMedia queries 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 Menu dropdown Navigation link Navigation (primary) Navigation (secondary) Navigation (vertical) Pagination PopoverPlanned Progress stepper Scheme toggle Site status Skeleton Skip link Spinner Statistic Subnavigation Surface Switch Table Tabs Tag Tile Timestamp Tooltip Video embed OverviewColor PalettesCustomizingDevelopers All PatternsAccordionCall to ActionCardFilterFormLink with iconLogo wallSearch barSticky bannerSticky cardTabsTagTile All Personalization PatternsAnnouncement FundamentalsAccessibility toolsAssistive technologiesCI/CDContentContributorsDesignDevelopmentManual testingResourcesScreen readers Design/code status Release notes Get support

Back to top

OverviewStyleGuidelinesCodeAccessibilityDemos
StyleColor schemeSpaceInteraction statesStyleColor schemeSpaceInteraction states

Style

A back to top is a pill-shaped button that is anchored to the bottom right corner of a page.

Anatomy

Back to top button a 1 next to the button background, 2 next to the button text, and 3 next to the upward facing chevron icon.
  1. Container
  2. Text
  3. Icon

Color scheme

Back to top is available in both light and dark color schemes.

Light scheme

Back to top button with a blue background and white text against a white surface color

Dark scheme

Back to top buttons that have a light blue background and black text against a black surface color

Space

Back to top button with block padding of 4px, inline padding of 8px, and a 4px gap between text and icon

Interaction states

The focus ring in the Hover state is slightly smaller than the ring in the Focus and Active states.

Three back to top buttons with a dark blue background and a blue focus ring around it demonstrating identical focus and active states, while the hover state has a slightly smaller ring.

Other libraries

To learn more about our other libraries, visit the getting started page.

© 2025 Red Hat Deploys by Netlify