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 group 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 Readtime Scheme dropdown Scheme toggle Select Site status Skeleton Skip link Spinner Statistic Subnavigation Surface Switch Table Tabs Tag Tile Timestamp Tooltip Video embed How to useProject FeltColor PalettesCustomizingDevelopers All PatternsAccordionAlertCall to ActionCardFilterFormLink with iconLogo wallSearch barSticky bannerSticky cardTabsTagTile AI design principlesLegal requirementsTransparency noticesIconographyColorChatbot avatarsAnimation All Personalization PatternsAnnouncement FundamentalsAccessibility toolsAssistive technologiesCI/CDContentContributorsDesignDevelopmentManual testingResourcesScreen readers Design/code status Release notes Get support

Back to top Since v1.4.0

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

Hover changes the fill color. Focus and active share a 3px ring offset from the pill.

Three back to top buttons. Hover changes the fill color. Focus and active share a 3px ring offset from the pill.

Other libraries

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

© 2026 Red Hat Deploys by Netlify