Use a design system
A design system can help your team prototype faster, scale, manage front-end design debt, and apply consistency across your applications. As a project grows, designers and engineers often find themselves managing dozens of variations of the same button, for example, across hundreds of lines of code. This can create duplication that slows down the build process, requiring extra work to ensure consistent styles across all the appropriate states, and adds more things to check as you’re making sure every screen of your application is accessible to all.
The U.S. Web Design System
Many teams at 18F begin by installing the USWDS package and adding additional components and styles to fit the needs of their application.
Design systems like USWDS are more than buttons; USWDS extends to provide guidance and example code for all kinds of components, so you don’t have to start from scratch.
You may end up using the USWDS to handle a lot of the basic decisions (like grid systems and form fields), so you can focus on the components that are specific to your use case (like file upload boxes and progress indicators).
The best place to get started with the USWDS is by heading to designsystem.digital.gov and jumping into the (18F/GSA access only)#uswds-public Slack channel. There you’ll find instructions on how to use the USWDS no matter what technology stack you’re using, as well as Sketch files to work with when you’re not designing in code.