The U.S. Web Design System provides principles, guidance, components, and styles for accessible, mobile-friendly government websites and similar projects.
Overview
The United States Web Design System is a toolkit of principles, guidance, and code for building user interfaces. It includes public domain and open source UI components and a visual style guide aimed at U.S. federal government websites, though teams in other sectors also adopt it.
The npm-distributed package supplies precompiled CSS and JavaScript, Sass sources, fonts, icons, and component packages organized around functional modules. Projects typically reference a stylesheet, the main JavaScript library, and a small initializer script to avoid layout flash while components load.
Teams can use precompiled assets or compile custom CSS from Sass with theme settings, design tokens, utilities, and patterns documented on the design system site. Accessibility and mobile-friendly layouts are core goals stated for federal web publishing.
Documentation covers components, patterns, design tokens, and utilities, with examples of federal sites that use the system.
Key features
- Accessible UI components
- Precompiled CSS and JavaScript
- Sass themes and design tokens
- Icon sprites and font assets
- Component patterns and utilities
- npm package distribution
- Mobile-friendly layout guidance
Use cases
- U.S. federal agency websites
- Accessible public-sector sites
- Consistent government branding
- Prototyping with USWDS utilities