nextjs-shadcn

Solid

Creates Next.js frontends with shadcn/ui. Use when building React UIs, components, pages, or applications with shadcn, Tailwind, or modern frontend patterns. Also use when the user asks to create a new Next.js project, add UI components, style pages, or build any web interface — even if they don't mention shadcn explicitly.

Web & Frontend 39 stars 14 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 86/100

Stars 20%
53
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Next.js + shadcn/ui Build distinctive, production-grade interfaces that avoid generic "AI slop" aesthetics. ## Core Principles 1. **Minimize noise** - Icons communicate; excessive labels don't 2. **No generic AI-UI** - Avoid purple gradients, excessive shadows, predictable layouts 3. **Context over decoration** - Every element serves a purpose 4. **Theme consistency** - Use CSS variables from `globals.css`, never hardcode colors ## Quick Start ```bash bunx --bun shadcn@latest init -t next ``` For a custom design system, generate a preset code in `shadcn/create` and apply it: ```bash bunx --bun shadcn@latest init --preset <CODE> --template next ``` ## Component Rules ### Page Structure ```tsx // page.tsx - content only, no layout chrome export default function Page() { return ( <> <HeroSection /> <Features /> <Testimonials /> </> ); } // layout.tsx - shared UI (header, footer, sidebar) export default function Layout({ children }: { children: React.ReactNode }) { return ( <> <Header /> <main>{children}</main> <Footer /> </> ); } ``` ### Client Boundaries - `"use client"` only at leaf components (smallest boundary) - Props must be serializable (data or Server Actions, no functions/classes) - Pass server content via `children` ### Import Aliases Always use `@/` alias (e.g., `@/lib/utils`) instead of relative paths (`../../lib/utils`). ### Style Merging ...

Details

Author
laguagu
Repository
laguagu/claude-code-nextjs-skills
Created
4 months ago
Last Updated
yesterday
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

Web & Frontend Featured

shadcn

Manages shadcn/ui components and projects, providing context, documentation, and usage patterns for building modern design systems.

27,681 Updated today
davila7
AI & Automation Solid

shadcn

Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for "shadcn init", "create an app with --preset", or "switch to --preset".

39 Updated yesterday
laguagu
AI & Automation Listed

shadcn

Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for "shadcn init", "create an app with --preset", or "switch to --preset".

7 Updated today
tuongaz
Web & Frontend Listed

styling-with-shadcn

Build beautiful, accessible UIs with shadcn/ui components in Next.js. Use when creating forms, dialogs, tables, sidebars, or any UI components. Covers installation, component patterns, react-hook-form + Zod validation, and dark mode setup. NOT when building non-React applications or using different component libraries.

335 Updated today
aiskillstore
AI & Automation Featured

shadcn

Manages shadcn/ui components and projects, providing context, documentation, and usage patterns for building modern design systems.

39,227 Updated today
sickn33