In the Skill's Own Terms
This skill builds accessible React user interfaces by combining shadcn/ui components (Radix UI primitives with Tailwind CSS), utility-first styling with Tailwind CSS, and canvas-based visual design systems. It targets Next.js, Vite, Remix, and Astro projects. Components are copied into your codebase via CLI, giving you full control and TypeScript type safety.
The skill covers responsive layouts, dark mode, design tokens, form validation, data tables, and museum-quality visual compositions. It includes reference documentation for component patterns, theming, accessibility (ARIA, keyboard navigation), responsive breakpoints, and Tailwind customization. Python scripts automate component installation and config generation.
What it produces
- tailwind.config.js generated with custom theme tokens, colors, fonts, spacing, and breakpoint extensions.
How It Works
- 01Initialize Shadcn/ui with Tailwind
Run npx shadcn@latest init to configure both shadcn/ui and Tailwind CSS, prompting for framework, TypeScript, paths, and theme preferences.
- 02Add Components to Your Codebase
Install components with npx shadcn@latest add button card dialog form, which copies them into your project for full control and customization.
- 03Compose with Utility Classes
Combine shadcn/ui components with Tailwind utility classes for responsive layouts, spacing, colors, and hover states directly in JSX className attributes.
- 04Apply Dark Mode Variants
Use next-themes for theme switching and add dark: prefixed utility classes to all themed elements for consistent dark mode support.
- 05Leverage Radix Accessibility
Radix UI primitives provide built-in ARIA patterns, keyboard navigation, and focus management without additional configuration.