Installation

Get started with Joly UI in under 2 minutes. Add 50+ React components to your Next.js or React project with a single command.

Last updated on

Edit on GitHub

Prerequisites: You need a project with shadcn/ui already configured.

Initialize shadcn/ui (if not already done)

Run the init command to set up shadcn/ui in your project:

npx shadcn@latest init

Add Joly UI Components

Use the shadcn CLI to add any Joly UI component directly from our registry:

npx shadcn@latest add "https://jolyui.dev/r/vercel-tabs"

The component will be added to your components/ui folder, ready to customize.

Use the Component

Import and use the component anywhere in your project:

import { Button } from '@/components/ui/button';

export default function Home() {
  return (
    <div>
      <Button>Click me</Button>
    </div>
  );
}

How is this guide?

On this page