A US Design System

Typography

The primary typeface is Geist, while the secondary typeface is Space Mono, employed exclusively for monospace text. Headings utilize the primary typeface (Geist) in Bold or Semibold weights. Body text is set in the primary typeface using Regular or Semibold weights, as appropriate.

Headings

Heading 1 — 60px

Heading 2 — 48px

Heading 3 — 40px

Heading 4 — 32px

Heading 5 — 24px
Heading 6 — 20px
Body Text

Body Large (18px) — The quick brown fox jumps over the lazy dog.

Body Medium (16px) — The quick brown fox jumps over the lazy dog.

Body Small (14px) — The quick brown fox jumps over the lazy dog.

Body XS (12px) — The quick brown fox jumps over the lazy dog.

Body Strong (Geist Semibold)

Body Medium Strong (16px) — The quick brown fox jumps over the lazy dog.

Body Small Strong (14px) — The quick brown fox jumps over the lazy dog.

Density

Default density uses standard line-height tokens; low density uses increased line spacing for enhanced readability in long-form content.

Body Medium (Default Density)

Grok 4.1 is xAI's most advanced and versatile general-purpose language model, optimized to provide balanced performance across diverse tasks—from generating text and conducting in-depth analysis to handling interactive queries and automation workflows. Its speed, precision, and efficiency make it ideal for daily operational use across government agencies.

Body Medium (Low Density)

Grok 4.1 is xAI's most advanced and versatile general-purpose language model, optimized to provide balanced performance across diverse tasks—from generating text and conducting in-depth analysis to handling interactive queries and automation workflows. Its speed, precision, and efficiency make it ideal for daily operational use across government agencies.

Body Small (Default Density)

Grok 4.1 is xAI's most advanced and versatile general-purpose language model, optimized to provide balanced performance across diverse tasks—from generating text and conducting in-depth analysis to handling interactive queries and automation workflows. Its speed, precision, and efficiency make it ideal for daily operational use across government agencies.

Body Small (Low Density)

Grok 4.1 is xAI's most advanced and versatile general-purpose language model, optimized to provide balanced performance across diverse tasks—from generating text and conducting in-depth analysis to handling interactive queries and automation workflows. Its speed, precision, and efficiency make it ideal for daily operational use across government agencies.

Caption

Caption (12px) — The quick brown fox jumps over the lazy dog.

Mono

Space Mono — The quick brown fox jumps over the lazy dog.

Color Palette

Base color scales from the design tokens. White and black are available as standalone tokens for backgrounds, text, and borders. Each scale runs from 50 (lightest) to 950 (darkest) across 11 steps.

White
White#FFFFFF
Black
Black#000000
Steel
50#FAFAFC
100#F4F5F8
200#E6EAF0
300#D3D9E4
400#B9C3D4
500#A7B4C9
600#8792A3
700#616875
800#353A40
900#1C1F22
950#141618
Neutral
50#FAFAFA
100#F3F3F3
200#E6E6E6
300#D3D3D3
400#B8B8B8
500#A6A6A6
600#868686
700#606060
800#424242
900#252525
950#121212
Blue
50#F7FAFF
100#EDF4FF
200#D8E7FF
300#B8D5FF
400#8EBBFE
500#72AAFE
600#5C8ACE
700#426393
800#243651
900#131D2B
950#0D131C
Red
50#FEF3F5
100#FDE6E9
200#FBC9D1
300#F99EAC
400#F5647A
500#F23D59
600#C43148
700#8C2334
800#4D141C
900#290A0F
950#1B070A
Orange
50#FFF8F3
100#FEF0E5
200#FDDEC7
300#FCC59B
400#FAA15F
500#F98A37
600#CA702D
700#905020
800#4D141C
900#2A1709
950#1B0F06
Gold
50#FEFBF2
100#FEF7E4
200#FCEEC4
300#FAE195
400#F7CF56
500#F5C32C
600#C69E24
700#8E711A
800#4E3E0E
900#2A2107
950#1B1505
Yellow
50#FEFDF5
100#FDFCE9
200#FCF8D0
300#F9F3AA
400#F5EB78
500#F3E656
600#C5BA46
700#8D8532
800#4E4A1C
900#29270F
950#1B1909
Green
50#F6FCF4
100#ECF9E7
200#D7F2CB
300#B7E7A1
400#8DD969
500#70CF44
600#5BA837
700#417827
800#244216
900#13230C
950#0C1707
Pink
50#FFFAFE
100#FFF4FE
200#FFE7FC
300#FFD4F9
400#FFBAF6
500#FFA9F4
600#CF89C6
700#94628E
800#52364E
900#2B1D29
950#1C131B
Turquoise
50#F7FCFE
100#EEF9FD
200#DBF2FA
300#BFE9F6
400#99DBF1
500#80D2ED
600#68AAC0
700#4A7A89
800#29434C
900#162428
950#0E171A
Violet
50#F9F9FF
100#F1F2FE
200#E1E2FD
300#CACBFB
400#AAADF9
500#9598F7
600#797BC8
700#56588F
800#30314F
900#191A2A
950#10111B

Spacing Scale

Spacing tokens map t-shirt sizes to the 4px grid. Values shown are for the desktop breakpoint.

space-3xs
2pxspace-2xs
4pxspace-xs
8pxspace-sm
12pxspace-md
16pxspace-lg
24pxspace-xl
32pxspace-2xl
40pxspace-3xl
48px

Iconography

A reference of all SVG files from src/icons. Icons are shown in alphabetical order by title. Our custom icons extend Heroicons and Lucide, matching their 24px grid, linear style, and 1.5px stroke widths—so they can integrate seamlessly and complement either set.

API Fill (Active)
API Linear (Default)
Arrow Down
Arrow Left
Arrow Line Left
Arrow Line Right
Arrow Long Down
Arrow Long Up
Arrow Path
Arrow Right
Arrow Trending Down
Arrow Trending Up
Arrow Up
Bookmark
Chat Fill (Active)
Chat Linear (Default)
Chat Temporary
Check
Chevron Down
Chevron Left
Chevron Right
Chevron Up
Chevron Up Down
Clock
Code
Collapse
Console Fill (Active)
Console Linear (Default)
Document
Document Duplicate
Document w Text
Download
Drawer Closed
Drawer Open
Ellipsis Horizontal
Eye
Gear
Globe
Help
Link
Magnifying Glass
Menu
Paperclip
Pencil
Pencil Square
Plus
Share
Squares Stack
Star Fill (Active)
Star Linear (Default)
Stop
Thumbs Down
Thumbs Up
Trash Can
Upload
X Mark

Buttons

A complete button system with five variants, four sizes, two shapes, icon options, groups, and filters. All buttons support hover, pressed, focus, and disabled states.

Variants
Sizes
With Icons
Pill Buttons
Button Group
Horizontal
Vertical
Full Width
Filter Group
Link
Default
Link
Disabled
Link
In-line
Link
Disabled
Link
Icon Buttons — Square
Icon Buttons — Circle
Action Button
Small
Medium
Large
Disabled

Text Inputs

Standard text inputs with label, hint text, error states, and three sizes. All inputs use the focus ring token.

Optional hint text
This field is required

Text Area

Multi-line text input for longer form content. Supports all standard states.

Checkbox & Radio

Styled checkboxes and radio buttons using design token colors for checked/unchecked states.

Checkboxes
Radio Group

Toggle / Switch

Binary toggle controls in three sizes. Uses the secondary button color for the active state track.

Cards

Content containers in three sizes with medium corner radius. Small and medium use spacing-md; large uses spacing-lg. Background token, subtle border, and hover shadow.

Small Card
Compact card for dense layouts.
Medium Card
Default card size for most content blocks.
Large Card
Spacious card for feature highlights or hero sections. Uses a larger padding area than the other cards.
Image Card with Hover Link Icon

Tags

Colored chip labels using design system tokens. Available in all 10 palette colors with optional leading icon, dismiss button, and status dot. Colors adapt for light and dark mode.

Chips with icon & dismiss
CHIPCHIPCHIPCHIPCHIPCHIPCHIPCHIPCHIPCHIP
Labels
SteelBlueGreenRedOrangeGoldYellowPinkTurquoiseViolet
Sizes
SmallMediumLarge
With status dot
ActivePendingErrorDraft

Alerts

Feedback messages for info, success, warning, and error states. Colors come from the status tokens.

Success
SuccessDescribe the event and give further instructions including links if needed.
Error
ErrorDescribe the event and give further instructions including links if needed.
Warning
WarningDescribe the event and give further instructions including links if needed.
Info
InformationDescribe the event and give further instructions including links if needed.

Avatars

User avatars in five sizes, two shapes, and seven color options. Gold 500 and Blue 400 use dark initials for contrast.

Sizes
XS
SM
MD
LG
XL
Colors — Square
ZW
ZW
ZW
ZW
ZW
ZW
ZW
Colors — Round
ZW
ZW
ZW
ZW
ZW
ZW
ZW
With Status
AC
BM
CJ
DK
EL
FM
With Full Name
AC
Alex Chen
JD
Jane Doe
MK
Morgan Kim
With full name and government entity
ZW
Full NameGovernment Entity

Tabs

Tab navigation for switching between views. Active tab uses the heading color with a bottom border indicator.

Overview content panel. This tab displays the main summary of information using body text tokens.

Table

Data table with header styling and hover rows. Cell content can be: Link, Checkmark, Action buttons (icon-only with ghost hover), or Chip (Steel from Chips section). Uses the muted background token for headers.

Table header

NameLinkCheckmarkChipActions
Record 1LinkCHIP
Record 2LinkCHIP

Data Visualization

Charts use design system tokens for colors, typography, and spacing. Donut and bar charts adapt to light and dark mode via chart color variables.

Permits by Bureau
BLM124,677
BIA9,318
FWS4,256
Other1,605
Av. Days Since Submission
2,291NEPA
1,805MLRS
1,202ePlanning
1,167NFLSS
Completion State (2025–Current)

In all applications submitted from 2025 through to the present date, 42% remain overdue, representing the largest proportion; 21% have been approved, 13% are in review, and 8% each are submitted, pending, or rejected.

8%Submitted
13%In Review
8%Pending
42%Overdue
21%Approved
8%Rejected
KPI hover card

Shown when hovering over chart data. Use the same structure (title + rows with bullet, label, value) for donut and bar charts.

May 22
Total5,214
Active3,214
Small KPI card

Compact card for a single metric with trend. Use for dashboards or alongside charts. Green for increase, red for decrease.

Daily
2,473
2% increase
Daily
2,473
2% decrease

Progress Bar

Progress indicators in three sizes and all status variants. Fill width animates smoothly with the transition token.

Sizes
60%
Variants

Spinner

Loading indicators in three sizes. Uses the heading color for the animated arc and emphasis background for the track.

Tooltip

Contextual information displayed on hover. Uses the tooltip background and text color tokens.

This is a tooltip

Divider

Horizontal rules in default, strong, and subtle variants for separating content sections.

Default

Strong

Subtle

USG Ribbon

Official US Government banner for indicating government websites. Adapts to light and dark modes.

An official website of the United States Government

About

This Design System provides reusable components, tokens, and patterns for building consistent government-facing applications. All components pass WCAG 2.0 AA accessibility requirements.

Components are actively maintained and may be updated at any time to reflect ongoing improvements and feedback. The provided source code is fully customizable, allowing you to adapt and extend it to meet the specific needs of your project.

Use the design files and code references below to align your products with the system. Figma libraries support seamless design handoff, while the GitHub repository includes this showcase and all component source code.

Figma
Design libraries, components, and styles for use in Figma. Duplicate the file or link the library to your team file.
GitHub
Source code for this showcase and all UI components. Clone the repo or install the package to use the design system in your app.