All Projects β†’ trussworks β†’ react-uswds

trussworks / react-uswds

Licence: Apache-2.0 license
USWDS 3.0 components built in React

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to react-uswds

smores-react
🍭 Marshmallow React components
Stars: ✭ 34 (-68.52%)
Mutual labels:  storybook, component-library, design-system
sodium-ui
Sodium is a simple, modular and customizable web component library to build elegant and accessible UI pieces for your React Application.
Stars: ✭ 23 (-78.7%)
Mutual labels:  storybook, component-library, design-system
Awesome Design Systems
A curated list of bookmarks, resources and articles about design systems focused on developers.
Stars: ✭ 222 (+105.56%)
Mutual labels:  design-patterns, storybook, design-system
Daisyui
⭐️ ⭐️ ⭐️ ⭐️ ⭐️  Tailwind Components
Stars: ✭ 382 (+253.7%)
Mutual labels:  design-patterns, design-system
ui-ux
The learning guide contains the Basics, Intermediate and Advance resources for User Interface and User Experience Design
Stars: ✭ 187 (+73.15%)
Mutual labels:  design-patterns, design-system
spark-design-system
Spark Design System
Stars: ✭ 101 (-6.48%)
Mutual labels:  design-patterns, design-system
Componentdriven.org
Static site and content for Component Driven
Stars: ✭ 237 (+119.44%)
Mutual labels:  storybook, design-system
Ft Origami
The Old Origami Website, do not use
Stars: ✭ 80 (-25.93%)
Mutual labels:  design-patterns, component-library
React Atomic Design
πŸ”¬ Boilerplate with the methodology Atomic Design using a few cool things.
Stars: ✭ 972 (+800%)
Mutual labels:  design-patterns, storybook
Calcite Components
Web Components for the Calcite Design System. Built with Stencil JS. Currently in Beta!
Stars: ✭ 96 (-11.11%)
Mutual labels:  design-patterns, design-system
moon-design
Moon Design System for React
Stars: ✭ 209 (+93.52%)
Mutual labels:  design-patterns, design-system
design-system
British Columbia Government Design System for Digital Services
Stars: ✭ 33 (-69.44%)
Mutual labels:  design-patterns, design-system
jw-design-library
A library of product design patterns comprised of code, usage and guidelines.
Stars: ✭ 16 (-85.19%)
Mutual labels:  design-patterns, design-system
react-library-template
Jumpstart your team's shared react library
Stars: ✭ 26 (-75.93%)
Mutual labels:  storybook, component-library
Learnstorybook Code
Code for Learn Storybook
Stars: ✭ 249 (+130.56%)
Mutual labels:  storybook, design-system
System Design And Architecture
Learn how to design large-scale systems. Prep for the system design interview.
Stars: ✭ 1,005 (+830.56%)
Mutual labels:  design-patterns, design-system
System Design Primer
Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.
Stars: ✭ 154,659 (+143102.78%)
Mutual labels:  design-patterns, design-system
design-systems
A list of famous design systems, design languages and guidelines
Stars: ✭ 403 (+273.15%)
Mutual labels:  component-library, design-system
Learnstorybook.com
Static site and content for Storybook tutorials
Stars: ✭ 2,291 (+2021.3%)
Mutual labels:  storybook, design-system
Govuk React
An implementation of the GOV.UK Design System in React using CSSinJS
Stars: ✭ 219 (+102.78%)
Mutual labels:  storybook, component-library

@trussworks/react-uswds

All Contributors

npm version uswds version

CircleCI npm downloads

ReactUSWDS Component Library

This is a frontend component library, built in React with Typescript, based on design patterns defined by the United States Web Design System (USWDS) 3.0. Our primary goal is to document and provide common UI components following the USWDS specification. This library removes a significant amount of overhead UI development for projects based on this standard.

A deployed instance of the ReactUSWDS Storybook is located at: https://trussworks.github.io/react-uswds/

Table of Contents

Install

Install this package with npm or yarn:

yarn add @trussworks/react-uswds

or

npm i @trussworks/react-uswds

Usage

It is strongly suggested applications use the same version of USWDS that was used to build the version of ReactUSWDS they're using. A version mismatch may result in unexpected markup & CSS combinations.

You can import ReactUSWDS components using ES6 syntax:

import { Alert } from '@trussworks/react-uswds'

Warning: Do not include USWDS JS in your project alongside this library (i.e., using import 'uswds'), as that will result in some components that use JS (such as the ComboBox) to initialize twice.

Also make sure to include the following in order to import the compiled CSS from this project:

@import '~@trussworks/react-uswds/lib/index.css';

If you aren't already using USWDS as a dependency, you also need to import USWDS styles. Read more info about using USWDS styles and assets here

Having issues? See FAQs.

Pre-Release

See prelease.md

Background

The primary deliverable is a published npm package that can be included as a dependency in other projects that use USWDS with React. In order for these components to be useful, they should follow best practices for accessible, semantic, markup; be well-tested across browsers and devices; and allow for an appropriate level of customization. We adhere to a set of development guidelines as much as possible and use automation to enforce tests, linting, and other standards.

Non-Goals

This is not meant to be a one-size-fits-all front end solution, We are starting off with the opinionated decision to cater towards projects that use the U.S. Design System 2.0, and encapsulate these specific styles and markup in React components.

In the process, we expect to gain learnings around how to best abstract out UI code from implementation; how to better standardize and document front end code practices; and how to develop, maintain, and distribute a shared JS library in alignment with our company values at Truss.

Active Maintainers

We are starting to rotate Trussel maintainer responsibilities. Check out the maintainers README.

Contributing

Interested in contributing? See our guidelines and dev setup here.

Are you a Trussel and new to this project? Check out our on & offboarding guide made just for you!

This repository is governed by the Contributor Covenant

Quick links:

License

Copyright 2021, TrussWorks, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Suzanne Rozier
Suzanne Rozier

πŸ’» πŸ“–
haworku
haworku

πŸ’» πŸ“–
Andrew Hobson
Andrew Hobson

πŸ’»
John Gedeon
John Gedeon

πŸ’»
Emily Mahanna
Emily Mahanna

πŸ’»
Brandon Lenz
Brandon Lenz

πŸ’» πŸ“–
Jeri Sommers
Jeri Sommers

πŸ’»
Erin Stanfill
Erin Stanfill

πŸ’»
Barry Morrison
Barry Morrison

πŸ’»
Duncan
Duncan

πŸ’»
Arianna Kellogg
Arianna Kellogg

πŸ’»
Christopher Hui
Christopher Hui

πŸ’»
Jim Benton
Jim Benton

πŸ’»
Jen Duong
Jen Duong

πŸ’»
Kim Allen
Kim Allen

πŸ’»
Kyle Hill
Kyle Hill

πŸ’»
Mazdak Atighi
Mazdak Atighi

πŸ’»
Isaac Garfinkle
Isaac Garfinkle

πŸ’»
Roger Steve Ruiz
Roger Steve Ruiz

πŸ’» πŸ“–
Leo Singer
Leo Singer

πŸ› πŸ’»
Shauna Keating
Shauna Keating

️️️️♿️ πŸ’»
Jacob Capps
Jacob Capps

πŸ’»

This project follows the all-contributors specification. Contributions of any kind welcome!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].