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

Grid

Our grid is the structural foundation for visual elements across web experiences.

It helps us create consistent layouts that work across devices, screen sizes, and environments.

Fixed grid values

We use space tokens to define grid margins and gutters.

Grid name Breakpoint Margins and gutters Max width Columns
xs <575px --rh-space-lg 100% - 32px 2
sm 576px --rh-space-lg 544px 2
md 768px --rh-space-2xl 704px 12
lg 992px --rh-space-2xl 928px 12
xl 1200px --rh-space-2xl 1136px 12
2xl >1440px --rh-space-2xl 1376px 12

Fluid grid values

Grid name Device Margins and gutters Max width Columns
Fluid Desktop and tablet --rh-space-2xl 100% 12
Fluid Mobile --rh-space-lg 100% 2

Best practices

Line length

Text at a width of 789px and layered on a grid

The width of body text should be 7 grid columns on desktop or 789px max in all layouts.

Text spanning all 12 columns of a grid

Do not allow the width of body text to span more than 789px.

Foundations

To learn how to use our other foundations in your designs, visit the foundations section.

© 2025 Red Hat Deploys by Netlify