Back to list
aster-void

daisyui

by aster-void

Everything has been nixified.

1🍴 0📅 Jan 25, 2026

SKILL.md


name: daisyui description: Build UIs with DaisyUI component library. Use when creating interfaces with DaisyUI, styling Tailwind projects with semantic components, or customizing DaisyUI themes.

Use semantic DaisyUI classes over raw Tailwind utilities. DaisyUI provides 65 components with built-in variants.

Idiomatic Usage

<!-- Prefer semantic classes -->
<button class="btn btn-primary">Click</button>
<div class="card bg-base-100 shadow-xl">...</div>
<input class="input input-bordered" />

<!-- NOT raw Tailwind -->
<button class="bg-blue-500 hover:bg-blue-600 text-white px-4 py-2 rounded">
  This is bad design
</button>

Customization priority: DaisyUI variants → Tailwind utilities → CSS @apply

Theme application:

<html data-theme="dark">
  <div data-theme="light"><!-- nested themes supported --></div>
</html>

Theme Customization

Config (CSS file):

@plugin "daisyui" {
  themes:
    light --default,
    dark --prefersdark;
}

Custom theme:

@plugin "daisyui/theme" {
  name: "mytheme";
  default: true;
  --color-primary: oklch(55% 0.3 240);
  --color-secondary: oklch(70% 0.25 200);
  --color-accent: oklch(65% 0.28 150);
  --color-neutral: oklch(30% 0.02 260);
  --color-base-100: oklch(98% 0.01 260);
  --color-base-200: oklch(94% 0.01 260);
  --color-base-300: oklch(90% 0.02 260);
}

Color variables:

VariablePurpose
--color-primary/secondary/accentBrand colors
--color-neutralLow-saturation UI
--color-base-100/200/300Backgrounds (light→dark)
--color-info/success/warning/errorFeedback
*-contentForeground on each background

Components (65)

CategoryComponents
Actionsbtn, dropdown, modal, swap, theme-controller
Data Displayaccordion, avatar, badge, card, carousel, chat, collapse, countdown, diff, kbd, list, stat, status, table, timeline
Navigationbreadcrumbs, dock, link, menu, navbar, pagination, steps, tabs
Feedbackalert, loading, progress, radial-progress, skeleton, toast, tooltip
Inputcalendar, checkbox, fieldset, file-input, filter, label, radio, range, rating, select, input, textarea, toggle, validator
Layoutdivider, drawer, footer, hero, indicator, join, mask, stack
Mockupbrowser, code, phone, window

Built-in Themes (35)

light, dark, cupcake, bumblebee, emerald, corporate, synthwave, retro, cyberpunk, valentine, halloween, garden, forest, aqua, lofi, pastel, fantasy, wireframe, black, luxury, dracula, cmyk, autumn, business, acid, lemonade, night, coffee, winter, dim, nord, sunset, caramellatte, abyss, silk

for real applications, you usually want to design your own color schema.

Common Patterns

Use semantic HTML elements with DaisyUI classes:

<!-- Card -->
<article class="card bg-base-100 shadow-xl">
  <section class="card-body">
    <h2 class="card-title">Title</h2>
    <p>Content</p>
    <footer class="card-actions justify-end">
      <button class="btn btn-primary">Action</button>
    </footer>
  </section>
</article>

<!-- Navigation -->
<nav class="navbar bg-base-100">
  <a class="navbar-start btn btn-ghost text-xl" href="/">Logo</a>
  <menu class="navbar-end">
    <li><button class="btn btn-primary">Login</button></li>
  </menu>
</nav>

<!-- Form -->
<form>
  <fieldset class="fieldset">
    <label class="label" for="email">Email</label>
    <input id="email" type="email" class="input input-bordered" required />
  </fieldset>
</form>

Score

Total Score

40/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon