Next.js Discord

Discord Forum

shadcn/ui

Answered
American Kestrel posted this in #help-forum
Open in Discord
Avatar
American KestrelOP
Anyone who uses shadcn/ui, how do you get the registry folder into your app? When copying an example - for example, https://github.com/shadcn/ui/tree/main/apps/www/app/examples/forms
in this code, many references to registry are there.
I copy pasted this folder into my app too, but there are multiple imports that I have to install packages for them to work
Answered by American Sable
I believe the "registry" folder is a common "ui" folder for all of the examples so they don't need to have like 50 "ui" folders. Don't think too hard about it and just use the CLI
View full answer

12 Replies

Avatar
European sprat
look inside the repo you linked, they will be somewhere in there
Avatar
American KestrelOP
no no
if im using shadcn, how can i get this registry folder to show up
please take a look at the contents of registry
Avatar
American KestrelOP
got it
no, no
i still need help;-;
Avatar
American Sable
You... don't??? Just install components like this:
Image
ezpz
Avatar
American Sable
I believe the "registry" folder is a common "ui" folder for all of the examples so they don't need to have like 50 "ui" folders. Don't think too hard about it and just use the CLI
Answer
Avatar
American KestrelOP
aah
!