Skip to content
NewNexus 2.0 is here, and it’s open source. Read the launch post

CLI reference

design-system

Nexus Design's design systems: the tokens and notes designs are made with, served with and checked against. The built-in @nexus/brand is the default until you pick another.

View as Markdown

nexus design-system list

nexus design-system list

The organization's design systems: the built-in @nexus/brand first, and which one new designs use.

nexus design-system show

nexus design-system show [<name>]

A design system's link tag, tokens (CSS custom properties) and notes; the default without a name.

Examples
nexus design-system show

nexus design-system sync

nexus design-system sync <path> [--name N] [--default]

Read a repository's tokens (CSS variables, a Tailwind config, tokens.json), its DESIGN.md and its component names into a design system (owners and admins).

OptionMeaning
--name <N>The design system's name (default: the folder's package.json name, else the folder's own)
--defaultMake it the default for new designs too
Examples
nexus design-system sync ./web --default

nexus design-system use

nexus design-system use <name>

Make a design system the default for new designs (owners and admins).

Examples
nexus design-system use acme

Generated from the CLI's own command list (nexus help --json), version 0.45.0. nexus help and nexus <command> --help always show your installed version.