# U.S. Web Design System

> The US government's design system: Sass, HTML and JS components, design tokens and the .gov banner.

Source: https://tastebase.ehsanulsiam.workers.dev/browse/uswds

free

The US government's design system: Sass, HTML and JS components, design tokens and the .gov banner.

by GSA Technology Transformation Services[GitHub](https://github.com/uswds/uswds)[npm](https://npmjs.com/package/@uswds/uswds)

[visit](https://designsystem.digital.gov/?utm_source=tastebase&utm_medium=referral&utm_content=detail-page)

[https://designsystem.digital.gov](https://designsystem.digital.gov/?utm_source=tastebase&utm_medium=referral&utm_content=detail-preview)

## Try these

no preview

### [GOV.UK Frontend](https://tastebase.ehsanulsiam.workers.dev/browse/govuk-frontend)

The GOV.UK Design System's HTML, Sass and JS: plain, accessible form and content components for public services.

no preview

### [Chakra UI](https://tastebase.ehsanulsiam.workers.dev/browse/chakra-ui)

Accessible React components styled through style props and a token system, built on Ark UI.

no preview

### [Ant Design](https://tastebase.ehsanulsiam.workers.dev/browse/ant-design)

Enterprise React design system: 70+ dense components for data-heavy back-office apps.

no preview

### [Flowbite](https://tastebase.ehsanulsiam.workers.dev/browse/flowbite)

Tailwind component classes plus a small JS layer for dropdowns, modals and drawers; React, Vue and Svelte ports.

## Looks that pick it

[Civic / public service](https://tastebase.ehsanulsiam.workers.dev/looks/civic)

## For your agent

##### Install

`npm i @uswds/uswds`

##### Use it for

- a US federal, state or local government site with the official .gov banner and identifier
- accessible public service forms with date picker, combo box, memorable date, step indicator and validation
- a civic theme configured through design tokens (colour, spacing, type) in Sass

##### Skip it when

- a UK public service: use govuk-frontend
- a .com or .org product: the banner and civic styling signal government; use shadcn-ui

##### What's inside44 free

- Accordion
- Alert
- Banner
- Breadcrumb
- Button
- Button group
- Card
- Character count
- Checkbox
- Collection
- Combo box
- Date picker
- Date range picker
- File input
- Footer
- Header
- Icon
- Icon list
- Identifier
- In-page navigation
- Input mask
- Input prefix or suffix
- Language selector
- Link
- List
- Memorable date
- Modal
- Pagination
- Process list
- Radio buttons
- Range slider
- Search
- Select
- Side navigation
- Site alert
- Step indicator
- Summary box
- Table
- Tag
- Text input
- Textarea
- Time picker
- Tooltip
- Validation

##### Facts

**Frameworks**
vanilla, react, vue, svelte, solid, angular

**Styling**
css

**Weight**
medium

**Accessibility**
strong

**Maturity**
established

**License**
CC0-1.0 (public domain); bundled fonts OFL, icons Apache-2.0

**Price**
Free

##### Alternatives

[GOV.UK Frontend](https://tastebase.ehsanulsiam.workers.dev/browse/govuk-frontend)

```
// app.js, with a bundler
import "@uswds/uswds/css/uswds.min.css"
import "@uswds/uswds" // JS components; they start on DOMContentLoaded

<label class="usa-label" for="email">Email address</label>
<input class="usa-input" id="email" name="email" type="email" />
<button class="usa-button" type="submit">Continue</button>
```

https://designsystem.digital.gov/components/overview/

This site doesn't allow being shown inside another page. Here is how it looks.

[Open in a new tab](https://designsystem.digital.gov/components/overview/?utm_source=tastebase&utm_medium=referral&utm_content=detail-preview)

[Visit](https://designsystem.digital.gov/?utm_source=tastebase&utm_medium=referral&utm_content=floating-pill)
