@revotale/daisyui-react
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

daisyUI components built with React, Typescript and TailwindCSS

Components are supporting React Server Components!

@revotale/daisyui-react 🌼


💿 Install

Make sure you've installed TailwindCSS and daisyUI.

Install the package with npm or yarn:

npm install @revotale/daisyui-react

or

pnpm install @revotale/daisyui-react

To prevent TailwindCSS from purging your styles, add the following line to your tailwind.config.js:

module.exports = {
  content: [
    'node_modules/daisyui/dist/**/*.js',
    'node_modules/@revotale/daisyui-react/dist/**/*.js',
  ],
  plugins: [require('daisyui')],
}

⚡ Quick Start

Import @revotale/daisyui-react components within your component files:

import { Button } from '@revotale/daisyui-react'

export default (props) => {
  return <Button color="primary">Click me!</Button>
}

License

This project is licensed under the MIT License - see the LICENSE file for details.

Readme

Keywords

none

Package Sidebar

Install

npm i @revotale/daisyui-react

Weekly Downloads

0

Version

0.0.5

License

MIT

Unpacked Size

431 kB

Total Files

482

Last publish

Collaborators

  • grisaia