@onekstar/tailwind-ui
v1.0.6
Published
react ui library with tailwindcss
Downloads
3
Maintainers
Readme
tailwindUI
react ui library with tailwindcss
install
pnpm i @onekstar/tailwind-ui
install tailwindcss https://tailwindcss.com/docs/installation/framework-guides
config
// tailwind.config.js
/** @type {import('tailwindcss').Config} */
export default {
content: [
...
"./node_modules/@onekstar/tailwind-ui/index.js", // add this line
],
theme: {
extend: {},
},
plugins: [],
};
usage
import { Button } from "@onekstar/tailwind-ui";
export default () => <Button>hello</Button>;