Configure your ReUI license key for premium registry installs.
Use this guide when you want to install premium ReUI registry items with the shadcn CLI. Free components do not require a license key, but premium blocks, icons, and templates do.
Use the license key from your ReUI account:
This is the recommended setup for premium registry installs.
components.json file in your project rootAdd your license key to .env.local in the root of your project:
REUI_LICENSE_KEY=your-license-key-hereUpdate components.json to use the authenticated @reui registry config:
{
"registries": {
"@reui": {
"url": "https://reui.io/r/{style}/{name}.json",
"headers": {
"Authorization": "Bearer ${REUI_LICENSE_KEY}"
}
}
}
}Install registry items from the same namespace:
Free components continue to work with the authenticated config, so you do not need a second registry namespace.
Prefer to browse and copy code directly instead of using the CLI?