GitHub

Installation

How to install dependencies and structure your app.

Create or initialize a project

npx shadcn@latest init

Add the Blode registry

npx shadcn@latest registry add @blode=https://ui.blode.co/r/{name}.json

Add a component

npx shadcn@latest add @blode/button

Import component

The command above will add the Button component to your project. You can then import it like this:

import { Button } from "@/components/ui/button";
 
export default function Home() {
  return <Button>Click me</Button>;
}