Shadcn UI CLI
Add components through the UI package's current shadcn configuration.
Run shadcn commands from packages/ui.
cd packages/uipnpm dlx shadcn@latest add <component-name>Current Config
The repo uses packages/ui/components.json with:
- CSS file:
../../apps/web/styles/globals.css componentsalias:@componentsuialias:@componentshooksalias:@hooksutilsalias:#utilslibalias:#lib
After generating a component, review imports and align them with the package's existing alias style if the CLI produces stale paths.
Importing
After adding and exporting a component, consume it through @kit/ui/....