Skip to content

michaelmcshinsky/slipstream-ui

Repository files navigation

Slipstream UI

Component library combining React and Tailwindcss, built with TypeScript

Documentation | NPM | Github | Roadmap


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.

About

Component Library for React and Tailwindcss.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages