0.1.2 • Published 4 years ago

@dash-ui/design-system v0.1.2

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

A command line tool for creating design systems with Dash and Storybook

# Using npx
npx @dash-ui/design-system my-design-system

# OR using a global install
yarn global add @dash-ui/design-system
create-design-system my-design-system

# Start Storybook in the design system directory
cd my-design-system
yarn storybook

Preview

Storybook preview image

What's in the box?

  • UI component starter pack Alerts, badges, buttons, checkboxes, switches, and spinners, inputs, textareas, and icons.
  • Layout components exported from @dash-ui/react-layout: Box, Grid, Row, Column, and more!
  • Tailwind design tokens
  • Beautiful typography out of the box
  • Responsive props and styles from @dash-ui/responsive
  • Modern CSS reset
  • Accessibility
  • Auto-documentation with Storybook
  • Semantic versioning
  • Strongly typed with TypeScript
  • Modern build system automatically generates ESM, UMD, CJS, modules, and types based upon the "exports" field in the package.json

Build tools

The design system comes with a variety of build tools that allow you to release with confidence

ToolDescription
ReactThis starter pack is built in React
TypeScriptYour design system should have strong types and autocomplete
StorybookWrite your documentation as you code and build bulletproof UI components
YarnBecause I said so
Jest + @testing-libraryFor testing components and hooks
PrettierFor formatting code, READMEs, and configs
ESLintFor linting the design system
Standard VersionSemantic releases made easy
CommitlintLints your commit messages
LundleA build tool that automatically generates UMD, ESM, CJS, modules, and types based upon the "exports" field in the package.json
Travis CI(Optional) For continuous integration

Usage

create-design-system <name> [--user=githubUsername] [--org=githubOrg] [--scope=npmOrg] [--no-git]

ArgumentTypeRequiredDescription
namestringYesThe name of the package you're creating. This is also the name of the directory the package will be created in.
userstringNoYour GitHub username
orgstringNoA GitHub organization name where the repo should live
scopestringNoAn npm organization
no-gitbooleanNoCreate the package without initializing a git repo

LICENSE

MIT