--- name: nextjs-shadcn description: Creates Next.js 16 frontends with shadcn/ui. Use when building React UIs, components, pages, or applications with shadcn, Tailwind, or modern frontend patterns. --- # Next.js 16 + 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 create --preset "https://ui.shadcn.com/init?base=radix&style=vega&iconLibrary=lucide" --template next ``` ## Component Rules ### Page Structure ```tsx // page.tsx - content only, no layout chrome export default function Page() { return ( <> ); } // layout.tsx - shared UI (header, footer, sidebar) export default function Layout({ children }: { children: React.ReactNode }) { return ( <>
{children}