lerpa
ver1.0.0
node20.11
branch⎇ main
uptime14d 03:42:17
cpu3.2%
mem14 MB
teams4,213
utc00:00:00
LIVE
$lerpa --quickstart

Quickstart

The shortest path from zero to a rendered component. This assumes you already have a React 19 + Tailwind v4app (Next.js 16 or Vite). If not, see Installation first.

1. Initialize Lerpa UI

Run this once at the project root. It writes lerpa.json and a cn helper.

pnpm dlx lerpa-cli init

2. Add a component

Add the button to start. The source is copied into components/ui/button.tsx.

pnpm dlx lerpa-cli add button

3. Import it

Import from the @/components/ui alias that init configured.

app/page.tsx
import { Button } from "@/components/ui/button";

export default function Page() {
  return (
    <main className="grid min-h-screen place-items-center">
      <Button>Ship it →</Button>
    </main>
  );
}

4. Run your app

Start the dev server and you'll see the component rendered:

pnpm dev

Next steps

lerpa · running
turbopack142ms
a11yAAA
tokens14
network14kb