Skip to main content

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

USWDS Sandbox

A comprehensive demonstration of the U.S. Web Design System components, templates, and patterns. Explore working examples to see how USWDS can help you build accessible, mobile-friendly government websites.

What's Inside

Components

40+ USWDS components with multiple variations and real-world examples. From buttons to tables, accordions to tooltips.

Templates

Complete page templates for common government website needs: landing pages, documentation, error pages, and authentication flows.

Patterns

Design patterns and best practices for common tasks: search, forms, user profiles, and contact information.

See USWDS in Action

Components are building blocks. Programs are complete experiences. See how multiple USWDS components combine to create realistic government service pages with working forms and interactive elements.

Featured Demos

Disaster Recovery

Multi-step application with eligibility wizard, progress saving, and confirmation tracking.

Entrepreneur Support

Grant program with eligibility wizard, tiered funding, and full application flow.

Popular Components

Interactive Templates

Try out these functional templates with working forms and interactive elements:

Contact Form

A fully functional contact form with validation and success messages.

Sign In

Authentication page templates with login, registration, and password reset flows.

Landing Page

A complete landing page with hero section, cards, and call-to-action areas.

About This Sandbox

This sandbox is designed to help you explore and test USWDS components in a real working environment. All examples use proper USWDS CSS classes and follow accessibility best practices.

You can:

  • Browse all USWDS components with multiple variations
  • View complete page templates for common use cases
  • Test interactive elements like forms, modals, and accordions
  • Copy code examples for your own projects
  • See how components work together in real page layouts

agency.gov

An official website of the Agency

Looking for U.S. government information and services?
Visit USA.gov