Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alexandredev3/tails-ui

A Design System for TailwindCSS projects
https://github.com/alexandredev3/tails-ui

design-system javascript plopjs reactjs storybook tailwind tailwind-css tailwindcss turborepo typescript vitejs

Last synced: 26 days ago
JSON representation

A Design System for TailwindCSS projects

Awesome Lists containing this project

README

        






Tails UI



A Design System for TailwindCSS


Components Storybook Docs
License

## Documentation

To see all the available components and usages, visit alexandredev3.github.io/tails-ui.com
> Visit https://tails-ui-playground.vercel.app/ to play around with the demo.

## Usage
Follow these steps to start using the components:

1. Install TailwindCSS in your existing React project.
```bash
$ npm install -D tailwindcss
$ npx tailwindcss init
```

2. Install the Tails UI Tailwind plugin as a dev dependency on your project.
```bash
$ npm install -D @tails-ui/plugin
```

3. Install the components that you want to use in your project.
```bash
$ npm install @tails-ui/checkbox @tails-ui/button
```
Tails UI allows you to download only those components that you really need in your project.

4. Add the Tails UI plugin to your project `tailwind.config.js` file.
```cjs
/** @type {import('tailwindcss').Config} */
module.exports = {
plugins: [require('@tails-ui/plugin')]
}
```

5. Add the Tails UI components template path to your `tailwind.config.js` file.
```cjs
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./node_modules/@tails-ui/**/*.js"
],
}
```

6. Now you can start to use the components!
```tsx
function Example() {
return (






Accept terms & conditions



);
}
```
## Contributing