JSPM

daisyui

0.1.03
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 340495
  • Score
    100M100P100Q205953F
  • License ISC

Styled and unstyled UI Components based on Tailwind CSS

Package Exports

  • daisyui

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (daisyui) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

DaisyUI 🌼

Styled (and unstyled) UI Components for Tailwind CSS users

Install

npm i daisyui

Add plugin and preset to tailwind.config.js

module.exports = {
  plugins: [
    require('daisyui/styled'), // 🌼 for styled UI
    // require('daisyui'), // for base UI only
  ],
  presets: [
    require('daisyui/preset')
  ],
}

Or use a CDN

🌼 styled version

<link rel="stylesheet" href="https://unpkg.com/daisyui@latest/dist/styled.min.css" />

unstyled version

<link rel="stylesheet" href="https://unpkg.com/daisyui@latest/dist/base.min.css" />