slipstream-ui
v3.1.0
Published
Component library combining React and Tailwindcss, built with TypeScript
Downloads
107
Readme
Installation
npm i slipstream-ui
# or
yarn add slipstream-ui
Usage
Slipstream UI is a wrapper for Tailwindcss as well as a component library built using React. You will first need to add the wrapper to your tailwind.config.js file.
const slipstream = require('slipstream-ui/config')
module.exports = slipstream({
content: [
"./node_modules/slipstream-ui/dist/**/*"
],
theme: {
extend: {},
},
plugins: [],
})
You now have access to all Slipstream components inside your React app.
Example
import { Button } from 'slipstream-ui';
function Example () {
return (
<Button>Click me!</Button>
)
}
License
This project is licensed under the terms of the MIT license.