Set up an accessibility first design system environment by running only one command.
🤙 Hit me up on Twitter if you're interested in this project or would like to contribute.
Have you used create-react-app
or Vue CLI? The experience will be the same with @design-kit
! 😎
npx @design-kit/init my-component-library
cd my-component-library
npm run dev
At localhost:5000
there'll be a Storybook running with a predefined list of components to get you started.
- 😎 Framework agnostic
- 👌 Zero-config setup
- 📚 Storybook out of the box
- 💋 Prettier out of the box
- 🏷 Typescript out of the box
- 🧪 Jest snapshot tests
- 💄 CSS-in-JS
- ♿️ Accessibility first designed components
- 📦 Monorepo support with Lerna
As mentioned, @design-kit
provides you with a basic list of accessible components:
- Button
- Input
- Textarea
- Checkbox
- Tooltip
- Popover
- Modal
- React
- Vue (coming soon)
- Svelte (coming soon)
If you can't see your preferred framework, please consider contributing to us! 😉
Usage: npx @design-kit/init --framework [framework] <design-system-name>
Options:
-V, --version output the version number
-f, --framework [framework] framework choice (optional)
-h, --help output usage information
Examples:
$ npx @design-kit/init my-component-library
$ npx @design-kit/init -f react my-react-component-library
$ npx @design-kit/init --framework vue my-vue-component-library
In general, please open an issue to create a discussion about your problem or feature request.
-
git clone https://github.com/design-kit/init design-kit-init
-
cd design-kit-init && npm i
MIT © Licence