Learn how to install our templates code directly in your shadcn/ui project with the CLI.
Free templates can be accessed by opening them in v0 with Access in v0 button on the template page.
You can install Templates with the latest shadcn CLI 3.0.
Note: Templates are currently built on the Radix UI version of shadcn/ui. Base UI variants of the templates are not available yet.
.env.local file with the content: SHADCNDESIGN_LICENSE_KEY=your_license_keycomponents.json file by adding our registry as presented in the Templates docs.{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "new-york",
"rsc": true,
"tsx": true,
"tailwind": {
"config": "",
"css": "app/globals.css",
"baseColor": "neutral",
"cssVariables": true,
"prefix": ""
},
"iconLibrary": "lucide",
"aliases": {
"components": "@/components",
"utils": "@/lib/utils",
"ui": "@/components/ui",
"lib": "@/lib",
"hooks": "@/hooks"
},
"registries": {
"@shadcndesign": {
"url": "https://shadcndesign-registry.vercel.app/api/registry/{name}",
"headers": {
"X-License-Key": "${SHADCNDESIGN_LICENSE_KEY}"
}
}
}
}
npx shadcn@latest add @shadcndesign/stylesInstall Inspiro template
npx shadcn@latest add @shadcndesign/template-inspiro
Install Developer Portfolio template
npx shadcn@latest add @shadcndesign/template-developer-portfolio