Guides building accessible, customizable UI with shadcn/ui as a code generation platform (not an npm dependency). Components are copied into your project via the CLI and fully owned. Supports Radix UI or Base UI primitives, Tailwind CSS 4 with oklch color tokens, React 19 direct ref patterns, and type-safe form validation with the Field component and Zod.
When to use: Adding shadcn/ui components, theming with CSS variables and oklch colors, building forms with React Hook Form or TanStack Form, creating custom registries, composing accessible component variants, setting up dark mode.
When NOT to use: Non-React frameworks (use shadcn-vue or shadcn-svelte instead), projects using a different component library (MUI, Chakra), projects not using Tailwind CSS.
Erstellt zugängliche, anpassbare Komponentenbibliotheken mithilfe von shadcn/ui mit Radix UI oder Base UI, Tailwind CSS 4 und React 19. Behandelt Komponentenbesitz, oklch CSS-Design, typsichere Formulare mit Field und Zod, CLI-Workflows und Registrierungsmuster. Wird zum Hinzufügen von Shadcn/UI-Komponenten, zum Konfigurieren von Themen, zum Erstellen von Formularen mit Zod, zum Erstellen benutzerdefinierter Registrierungen oder zum Erstellen barrierefreier Komponentenvarianten verwendet. Verwendung für Shadcn-CLI, Dunkelmodus, Komponentenvarianten, Formularvalidierung. Quelle: oakoss/agent-skills.