The USPTO's Design System Theme, an open source design library based on the United States Web Design System (USWDS) and Bootstrap 4.
We welcome your feedback on this design library!
- Supporting an older and/or legacy application? Take a look at version 1.x of our UI Design Library.
- Looking for UX tools and assets to support software development? Check out our UX resources site.
Install the project's dependencies with:
npm install
This project can be built with SASS.
To build the front-end assets (fonts/CSS/JS) use:
npm run build
To watch sass files while making changes locally use:
npm run dev
How you implement the USPTO Design System depends on the needs of your project.
Add the following to your package.json file:
"dependencies": {
"bootstrap": "^4.6.0",
"usptostrap": "^2.2.10"
}
Adding directly:
npm install usptostrap
- Download the lastest source code.
- Copy the /assets to the root folder to your project.
- Add the following code to the head of your HTML pages or templates:
<!-- USPTO Design System v2.x Theme -->
<link rel="stylesheet" href="assets/css/usptostrap.css">
<!-- Optional libraries -->
<link rel="stylesheet" href="assets/css/uswds-combobox.css">
<link rel="stylesheet" href="assets/css/uswds-datepicker.css">
<link rel="stylesheet" href="assets/css/uswds-overrides.css">
The United States Department of Commerce (DOC) GitHub project code is provided on an "as-is" basis and the user assumes responsibility for its use. DOC has relinquished control of the information and no longer has responsibility to protect the integrity, confidentiality, or availability of the information. Any claims against the Department of Commerce stemming from the use of its GitHub project will be governed by all applicable Federal law. Any reference to specific commercial products, processes, or services by service mark, trademark, manufacturer, or otherwise, does not constitute or imply their endorsement, recommendation or favoring by the Department of Commerce. The Department of Commerce seal and logo, or the seal and logo of a DOC bureau, shall not be used in any manner to imply endorsement of any commercial product or activity by DOC or the United States government.
- U.S. Web Design Standards (USWDS)
- Bootstrap 4 and bootstrap icons
- Material icons