1
3
Block

Installation

PreviousNext

How to install dependencies and structure your app.

Next.js

Create project

Run the init command to create a new Next.js project or to setup an existing one:

pnpm dlx shadcn@latest init

Choose between a Next.js project or a Monorepo.

Add Components

You can now start adding components to your project.

pnpm dlx shadcn@latest add https://ebonui.com/r/ripple-button.json

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

import { RippleButton } from "@/components/ui/ripple-button"
<RippleButton>Ripple Button</RippleButton>