ui-styling

Build accessible user interfaces with shadcn/ui components and Tailwind CSS utility styling.

Updated Sep 10, 2026
One-click install
npx skills add https://github.com/longqt321/Rendez --skill ui-styling-longqt321
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ui-styling
Source: https://github.com/longqt321/Rendez/tree/main/.agent/skills/ui-styling
Command: npx skills add https://github.com/longqt321/Rendez --skill ui-styling-longqt321

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Building consistent, accessible, and responsive user interfaces from scratch requires deep knowledge of component libraries, CSS frameworks, and accessibility standards, which slows down frontend development. ## Core Features & Use Cases - Accessible Component Library: Install and compose shadcn/ui components (dialogs, forms, tables, dropdowns) built on Radix UI primitives with keyboard navigation and screen reader support. - Utility-First Styling: Apply Tailwind CSS utilities for layout, spacing, typography, responsive breakpoints, and dark mode theming via CSS variables. - Automation Scripts: Use Python scripts to add shadcn/ui components and generate Tailwind configuration files programmatically. - Use Case: When building a Next.js dashboard, use this Skill to scaffold a responsive card grid with dark mode support, add a validated login form with React Hook Form and Zod, and ensure all interactive elements meet WCAG accessibility standards. ## Quick Start Use the ui-styling skill to create a responsive dashboard page with shadcn/ui cards, a dark mode toggle, and an accessible contact form.

Frequently Asked Questions about ui-styling

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add shadcn/ui components to my React project?

Run npx shadcn@latest init to configure your project, then use npx shadcn@latest add followed by component names like button, card, or dialog. Components are copied into your components/ui directory with full TypeScript support.

How do I implement dark mode with Tailwind CSS and shadcn/ui?

Install next-themes, wrap your app in a ThemeProvider with attribute set to class, and define dark theme CSS variables under a .dark selector in globals.css. Components automatically respond to the dark class on the html element.

Does shadcn/ui work with frameworks other than Next.js?

Yes, shadcn/ui supports Vite, Remix, and Astro in addition to Next.js. The CLI init command detects your framework and configures paths, TypeScript, and Tailwind integration accordingly.

Are shadcn/ui components accessible by default?

Yes, shadcn/ui components are built on Radix UI primitives which follow WAI-ARIA design patterns. They include keyboard navigation, focus management, focus trapping in dialogs, and screen reader announcements out of the box.

How do I customize shadcn/ui component styles?

Modify CSS variables in globals.css to change colors and radius globally, edit component source files directly since they live in your codebase, or pass className props to override styles on individual instances.

Why do my Tailwind classes not apply in production builds?

Tailwind purges unused classes at build time, so dynamically constructed class names get removed. Use complete class strings, add dynamic patterns to the safelist in tailwind.config, or define custom tokens with the @theme directive.