shadcn
Download and add items from the shadcn registry index.
SourceOfficial
Usage
The shadcn registry index is a nice way to shorten shadcn registry urls. If you are making use of shadcn registries in your project you can use this provider to use registries by their shortened name.
Since this doesn't come by default you will need to add it to your jsrepo.config.ts file. You can do this with a command:
jsrepo config provider @jsrepo/shadcnimport { defineConfig } from "jsrepo";
import shadcn from "@jsrepo/shadcn";
export default defineConfig({
providers: [shadcn()],
});Now you can simply use the shadcn: prefix followed by the registry namespace:
jsrepo add --registry shadcn:@react-bitsOptions
Prop
Type
Registry Directory
All of these registries are available to use with the shadcn provider.