Quick Start
Set up Aura in a new or existing Next.js app, add a component from the @aura registry, and render it.
Set up your project
Create a new Next.js app with Aura:
pnpm dlx @aura-design/cli@latest initOr apply Aura to an existing Next.js app (skips create-next-app):
pnpm dlx @aura-design/cli@latest setupPass --dir when the app is not the current working directory:
pnpm dlx @aura-design/cli@latest setup --dir ./apps/webBoth commands write components.json with the @aura and @aura-dev registries, generate light and dark accent and gray scales into globals.css, install @aura/class-names, @aura/page-get-starter, @aura/css-main, @aura/rules, @aura/skill-aura, and @aura/skills, and run blueprint scaffolding.
Add your first component
Install Button from the @aura registry:
pnpm dlx shadcn@latest add @aura/buttonThis command requires the @aura namespace in components.json, which init and setup configure. See Namespaces.
Use the component
Import Button from @/components/ui/Button and pass one of its variants:
import { Button } from "@/components/ui/Button";
export function Example() {
return (
<div className="flex flex-wrap gap-1">
<Button variant="fill">Fill</Button>
<Button variant="pill">Pill</Button>
<Button variant="link">Link</Button>
<Button variant="menu">Menu</Button>
</div>
);
}Retheme colors (optional)
Regenerate light and dark scales in globals.css from accent and gray seed colors:
pnpm dlx @aura-design/cli@latest colors --accent "#4015ca" --gray "#7254cb"You can also pass --background <hex> for a custom light canvas. The command runs a WCAG check before writing globals.css.
Next steps
- Installation — full details on
init,setup, and installing skills - CLI — options for
init,setup,link,blueprint,colors,typography generate, andspacing - Foundations — color steps, typography, spacing, icons, and accessibility
- Components — browse registry components and variants
- Rules — process rules and the Aura design skill