Daisyui Install

by saadeghi9adbeaa25981No license42K starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated today

Installation instructions for daisyUI 5

Instructions onlySoftware Development
AI-generated overview

Provides installation instructions for daisyUI 5 with Tailwind CSS 4, including npm and CDN setup.

What it does
This skill supplies step-by-step guidance for installing daisyUI 5 alongside Tailwind CSS 4. It covers npm installation, the required CSS import and plugin lines, and a CDN alternative for browser setups. It also points to standalone and framework-specific installation guides for many build tools and frameworks.
When to use it
Use it when setting up daisyUI 5 in a project that uses Tailwind CSS 4, whether through npm or a CDN. It is also useful when you need to pick the right installation guide for a specific framework or build tool.
Requirements
Requires Tailwind CSS 4 and daisyUI 5; npm installation needs Node.js, while the CDN option needs only a browser. Network access is needed to fetch packages or CDN files. No scripts are included.

Install daisyUI 5

Installation guide

  1. You must use Tailwind CSS 4 with daisyUI 5.
  2. The tailwind.config.js file is deprecated in Tailwind CSS v4. Do not use tailwind.config.js. If Tailwind CSS v4 is a Node.js dependency, add only @import "tailwindcss"; to the CSS file.
  3. To install daisyUI 5, run npm i -D daisyui@latest. Then, add @plugin "daisyui"; to the CSS file.
  4. Install daisyUI as a dependency when possible. If you have a specific reason to use a CDN instead, use the Tailwind CSS and daisyUI CDN files:
html
<link href="https://cdn.jsdelivr.net/npm/daisyui@5" rel="stylesheet" type="text/css" /><script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>
  1. If Tailwind CSS and daisyUI are Node.js dependencies, use this CSS file:
css
@import "tailwindcss";@plugin "daisyui";

CDN

For a browser setup with no installation, load the precompiled daisyUI CSS and the Tailwind browser build:

html
<link href="https://cdn.jsdelivr.net/npm/daisyui@5" rel="stylesheet" type="text/css" /><script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>

The main CDN file includes the light and dark themes. To load all built-in themes, use:

html
<link href="https://cdn.jsdelivr.net/npm/daisyui@5/themes.css" rel="stylesheet" type="text/css" />

You can also combine separate daisyUI CSS modules from the CDN. The CDN files do not include the is-drawer-open: and is-drawer-close: variants.

Standalone and framework-specific setup

Use the file paths and integration steps in the selected guide. Each framework can use a different CSS entry.

Source and attribution

Source:saadeghi/daisyuiinskills/daisyui/installat commit9adbeaa

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal