Get Gamma UI running in a new or existing Next.js project. This guide matches the workflow on the homepage: scaffold → shadcn → add components → compose → ship.
If you do not have a Next.js app yet, start with Install Next.js first.
From your project root, run the shadcn CLI if you have not already:
pnpm dlx shadcn@latest initAccept the defaults or match your stack (App Router, Tailwind, @/ alias). Gamma UI components assume the same layout shadcn/ui uses.
Install any block from the registry with the @gammaui namespace. For example:
pnpm dlx shadcn@latest add @gammaui/cloud-flowFiles are copied into your repo (for example under components/) so you can edit them like any shadcn component. Browse Components for the full list and add commands.
Import the component and render it on a page:
import CloudFlow from "@/components/gammaui/cloud-flow"
export default function Page() {
return (
<main className="flex min-h-screen items-center justify-center p-8">
<CloudFlow />
</main>
)
}Adjust the import path if your shadcn config uses a different folder.
pnpm devOpen http://localhost:3000 and confirm the component renders. Tweak styles with Tailwind utilities or your theme tokens in globals.css.