DaisyUI

難度:
前端框架
DaisyUI 效果預覽

效果預覽

設計規範

由官方品牌資料與該風格提示詞推導出的關鍵 token,可複製或搭配下方 DESIGN.md 使用。

顏色

  • primary人工確認

    主要操作與強調

  • on-primary推導

    主色上的文字

  • secondary推導

    標籤、徽章與次要強調

  • on-secondary推導

    輔色上的文字

  • neutral提示詞

    頁面底色

  • on-neutral推導

    底色上的文字

  • surface推導

    卡片、面板與浮層

  • on-surface推導

    表面上的文字

  • border推導

    邊框與分隔線

圓角與形狀

推導
sm · 4px
md · 8px
lg · 12px
full

間距

推導
  • sm8px
  • md12px
  • lg24px

陰影與層級

提示詞

層級以柔和、低對比的陰影表達。

字型

推導
  • Ag

    標題 32px · 粗體

    Inter

  • Ag

    內文 16px · 一般

    Inter

  • Ag

    標籤 13px · 中等

    Inter

daisyUI 是在 Tailwind 之上補一層語意化元件的主題系統:用 btn、card、navbar、drawer 這類類名完成常用結構,30+ 內建主題開箱切換,預設主色紫(#570DF8)、輔色洋紅與青綠;0.5rem 圓角、柔和陰影與粉彩表面,懸停狀態清晰友善,幾乎不用寫自訂 CSS。適合想保留 Tailwind 自由度又要元件語意的團隊。

DaisyUI前端框架

提示詞範本

基礎範本
Design a daisyUI-inspired interface. - Semantic component classes on top of Tailwind: btn, card, navbar, drawer; - Theme system with 30+ built-in themes; light default primary #570DF8; - Rounded corners (0.5rem), soft shadows, pastel surfaces; - Friendly, approachable components with clear hover states; - Zero custom CSS — pure utility classes. Colors: #570DF8, #F000B8, #37CDBE, #FFFFFF with #570DF8 accent. Typography: system-ui.

變體提示詞

📱 行動裝置
Design a mobile app with DaisyUI aesthetics. Use DaisyUI color identity with #570DF8 accents. Clean, touch-friendly, native feel.
💻 Web 端
Design a web application with DaisyUI style. Use DaisyUI color identity with #570DF8 accents. Professional, responsive layout.
📊 儀表板
Design a dashboard with DaisyUI design language. Use DaisyUI color identity with #570DF8 accents. Data-rich, organized, clear hierarchy.
📄 到達頁
Design a landing page with DaisyUI visual identity. Use DaisyUI color identity with #570DF8 accents. Compelling, conversion-focused.

使用範例

DaisyUI 到達頁

到達頁
Build a landing page with daisyUI style: hero section, feature cards, and navbar using semantic Tailwind classes and #570DF8 accent.

DaisyUI 管理面板

儀表板
Create an admin panel with daisyUI design language: drawer navigation, stat cards, and theme switcher with #570DF8 color system.

✅ 適用情境

  • Tailwind CSS
  • 快速原型
  • 主題切換

❌ 不適用情境

  • 需要原生 CSS 元件庫的團隊
  • 深度自訂元件行為的專案

DESIGN.md 檔案

符合 design.md 開放格式的設計系統描述,可複製或下載後交給 AI 程式設計工具使用。

下載