scentra

0.4.0 • Public • Published

TailwindCSS Storybook React Starter

This project is a component development environment that integrates the latest version of Storybook (6.2) with Tailwind (via @storybook/addon-postcss), TailwindCSS JIT compilation, and Webpack 5.

Why

Storybook is a tool for developing UI components in isolation using React (or any other UI framework supported by Storybook). Tailwind is a utility-first CSS framework that generates classes that can be composed to implement any design. Together, these libraries create a robust development environment that enables developers to rapidly implement UI components, no matter the complexity, in isolation with the advantage of atomic composability via Tailwind's utility classes.

Features

Setup

> yarn install
> yarn storybook

What's Next?

  • Extend the base Tailwind configuration to your liking
  • Build & publish your components with the bundler of your choice
  • Add a testing framework
  • Implement a CI/CD pipeline with tools like Chromatic

Resources

Readme

Keywords

none

Package Sidebar

Install

npm i scentra

Weekly Downloads

1

Version

0.4.0

License

MIT

Unpacked Size

14.2 kB

Total Files

21

Last publish

Collaborators

  • scentra