Spacing Unit Tokens
The NCIDS uses the U.S. Web Design System (USWDS) spacing units out of the box from USWDS. Their spacing unit tokens are based on multiples of 8px, with additional tokens for small sizes, named tokens for large sizes, and a more limited selection of negative tokens.
Applying Spacing Units for Designers
For more on how to apply spacing units in Figma, refer to our Figma Guide.
Spacing Tokens
The documentation below displays a target value in pixels, but the final output for tokens above 2px and below -2px is the eqivalent value in rem, which will vary depending on your project settings.
Note: Some units tokens come in two flavors: a numeric token (like 0.5 or -2) and a string token (like '05' or 'neg-2'). Utility classes use unquoted string tokens exclusively when they exist (like .margin-x-neg-2). Mixins and functions usually accept either, and we will note any exceptions.