Before you start
Both paths assume you have:
- A Next.js app using the App Router
- shadcn/ui initialized (
npx shadcn@latest init)
Free setup
Install free blocks from @efferd. No account or Registry Token required.
1
Add the registry
Merge this into components.json.
components.json
2
Install a block
Install blocks via the shadcn CLI using the @efferd/{name} syntax.
bash
Pro setup
Pro blocks use the same namespace. Requires a Registry Token.
1
Copy your registry token
Open Account → Registry token and copy the token.
2
Add the token
Put that in .env.local at the project root.
.env.local
3
Configure components.json
Use the object form so the CLI can attach the Authorization header.
components.json
In a monorepo, add this in the app workspace, then run the CLI from that directory.
4
Install a Pro block
Copy the command from any Pro block preview.
bash
Next steps
- MCP — AI agent support
- Changelog — latest updates
- shadcn registry docs — read more about registry config