shadcn-ui
✓具有 Radix 原語和 Tailwind 樣式的 shadcn/ui 組件模式。在構建 UI 組件、使用 CVA 變體、實現複合組件或使用數據槽屬性設置樣式時使用。在 shadcn、cva、cn()、數據槽、Radix、Button、Card、Dialog、VariantProps 上觸發。
SKILL.md
Tokens: bg-background, text-foreground, bg-primary, text-primary-foreground, bg-card, text-card-foreground, border-input, text-muted-foreground
| Multiple visual variants (primary, outline, ghost) | Yes | Plain className | | Size variations (sm, md, lg) | Yes | Plain className | | Compound conditions (outline + large = thick border) | Yes | Conditional cn() | | One-off custom styling | No | className prop | | Dynamic colors from props | No | Inline styles or CSS variables |
| Complex UI with multiple semantic parts | Yes | Single component with many props | | Optional sections (header, footer) | Yes | Boolean show/hide props | | Different styling for each part | Yes | CSS selectors | | Shared state between parts | Yes + Context | Props drilling | | Simple wrapper with children | No | Single component |
可引用資訊
為搜尋與 AI 引用準備的穩定欄位與指令。
- 安裝指令
npx skills add https://github.com/existential-birds/beagle --skill shadcn-ui- 分類
- *創意媒體
- 認證
- ✓
- 收錄時間
- 2026-02-01
- 更新時間
- 2026-02-18
快速解答
什麼是 shadcn-ui?
具有 Radix 原語和 Tailwind 樣式的 shadcn/ui 組件模式。在構建 UI 組件、使用 CVA 變體、實現複合組件或使用數據槽屬性設置樣式時使用。在 shadcn、cva、cn()、數據槽、Radix、Button、Card、Dialog、VariantProps 上觸發。 來源:existential-birds/beagle。
如何安裝 shadcn-ui?
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/existential-birds/beagle --skill shadcn-ui 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用
這個 Skill 的原始碼在哪?
https://github.com/existential-birds/beagle
詳情
- 分類
- *創意媒體
- 來源
- skills.sh
- 收錄時間
- 2026-02-01