Skip to content

cockroachdb/ui

Repository files navigation

ui

Published assets for Cockroach Labs user interfaces

This repository is a monorepo of published packages under the @cockroachlabs namespace on npm. It contains code for packages:

package source
@cockroachlabs/eslint-config /packages/eslint-config
@cockroachlabs/design-tokens /packages/design-tokens
@cockroachlabs/icons /packages/icons
@cockroachlabs/ui-components /packages/ui-components

storybook-ui-components

To run storybook locally, it's required to build all dependent packages and then run Storybook itself:

pnpm install # install dependencies 
pnpm build # run `build` scrips for all workspaces
pnpm --dir packages/storybook-ui-components start # run storybooks
# -or-
pnpm --dir packages/storybook-ui-components build-storybook # build a static version of storybooks