UI Styling combines shadcn/ui components on Radix UI, Tailwind CSS utilities and a canvas-based visual design approach. It covers setup, component catalogs, theming and dark mode, accessibility patterns, responsive layout and Tailwind customization through seven reference documents.
Two Python scripts help with the mechanical parts. One adds shadcn/ui components by running the shadcn CLI through npx, and the other generates a tailwind.config.js with custom colors, fonts and plugins.
What You Get
- A quick start for shadcn/ui init and component installation
- References for the component catalog, theming, accessibility, Tailwind utilities, responsive design and customization
- A script that adds shadcn/ui components with dependency handling and a dry run option
- A script that generates a Tailwind config from color and font arguments
- A canvas design reference for posters and visual compositions
Common Use Cases
- Setting up shadcn/ui and Tailwind in a new Next.js or Vite project
- Building a validated form with react-hook-form and zod
- Adding dark mode and theme tokens to an existing app
- Making dialogs, menus and tables keyboard accessible
- Generating a Tailwind config with brand colors and fonts
What Makes It Unique
It pairs component-library guidance with Tailwind and visual design in one skill, and backs the common setup steps with scripts. The config generator refuses to overwrite an existing Tailwind config unless force is passed, and the component script pins the shadcn CLI version it runs.
Under The Hood
The model reads SKILL.md and the reference files it needs. The component script runs the shadcn CLI through npx in the project, which downloads the CLI and components from the npm registry and writes component files into the codebase. The config script writes a Tailwind config file and refuses to replace an existing one without force. The instructions also suggest npx and npm install commands for setup.