Skip to main content Red Hat Design System logo Contribute on Github

Space tokens

Space

Ex. Token name Value Use case
4 --rh-space-xs 4px 4px spacer
6 --rh-space-sm 6px 6px spacer
8 --rh-space-md 8px 8px spacer
16 --rh-space-lg 16px 16px spacer
24 --rh-space-xl 24px 24px spacer
32 --rh-space-2xl 32px 32px spacer
48 --rh-space-3xl 48px 48px spacer
64 --rh-space-4xl 64px 64px spacer
80 --rh-space-5xl 80px 80px spacer
96 --rh-space-6xl 96px 96px spacer
128 --rh-space-7xl 128px 128px spacer

Other libraries

To learn more about our other libraries, visit this page.

© 2021-2024 Red Hat, Inc. Deploys by Netlify