Install daisyUI as a Tailwind CSS plugin

How to install daisyUI as a Tailwind CSS plugin?

You need Node.js and Tailwind CSS installed.
  1. Install daisyUI:
npm i -D daisyui@latest
  1. Then add daisyUI to your tailwind.config.js files:
module.exports = {
  //...
  plugins: [require("daisyui")],
}

daisyUI example repositories

See example setup of daisyUI and Tailwind CSS on different frameworks and build tools.
Do you have a question? ask the community
Do you see a bug? open an issue on GitHub
Do you like daisyUI? tweet about it!
Support daisyUI's development: Open Collective
daisyUI store

New template: SaaS Landing page

Available on daisyUI store

More details