Installation


For existing projects:


Install components

Choose the right variant

Remember to copy the right variant of your component, e.g. if you decided to use css variables in your project, copy the css variables variant of that component if it's available.


Install via Shadcn cli

Just choose desired component variant and desired package manager, copy cli command to your terminal and you're good to go. If there is no shadcn cli command on the component page you'll have to install the component manually.


CSS Variables components are hosted on https://v3.neobrutalism.dev, and utility class components are hosted on http://util.neobrutalism.dev.


For example you want to install button component, if you choose css variables variant url will look like this: https://v3.neobrutalism.dev/r/button.json, and for utility class variant it will look like this: http://util.neobrutalism.dev/r/button.json.


Install manually

In this docs below each component's name you'll have the shadcn docs link for that component.


e.g. You want to install shadcn button component. You'll navigate to button page, click on the shadcn docs link and install the button component like it's shown in the docs.


After you're done you'll come back to neobrutalism button page, and copy button component to your project inside components/ui/button.tsx (this is the default component path) or your custom component path.


Keep in mind that neobrutalism components can have different variants than default shadcn components.


Other components

If the shadcn docs link is not present on the component's page, just copy the component and read the instructions if there are any.