Install and configure React Js.
Run init
to create a new React project or to setup an existing one :
You can use the -d
flag for defaults for the css variables.
npx shadcn@latest init -d
You will be asked a few questions to configure components.json
:
1. Which style would you like to use ? > New York
2. Which color would you like to use as base color ? > Zinc
3. Do you want to use CSS variables for colors ? > no / yes
You can now start adding components to your project.