How to install dependencies and add components to your project.
Note: Unlumen UI uses the same installation process as shadcn/ui. Components are added directly to your codebase via the shadcn CLI.
Initialize shadcn/ui
Run the init command to create a new project with shadcn/ui or setup an existing one.
Configure Pro CLI Authentication
Pro component installs use the same Polar license key you use on /activate.
- Add your license key to your project
.env.local.
- Configure the
@unlumen-uiregistry in your project'scomponents.json.
Recommended object format (Authorization header):
If shadcn generated @unlumen-ui as a simple string in a new project, this
format also works:
- Install any Pro component with the same CLI command pattern.
Free components still work without authentication. Only Pro slugs require a
valid license key, provided either through the Authorization header or the
token query parameter.