lerpa
ver1.0.0
node20.11
branch⎇ main
uptime14d 03:42:17
cpu3.2%
mem14 MB
teams4,213
utc00:00:00
LIVE
$lerpa --tutorialfive steps · ~3 min React 19·Tailwind v4·Next 16

Get startedin five steps

Lerpa UI installs straight into your project — no package to depend on. The CLI writes real, owned source files into components/ui, shadcn-compatible. Install the CLI, add a component, theme it, then point your AI agent at the MCP server.

Start the walkthrough Browse components
Live registry · 1318 itemsMIT/copy-paste source/0 runtime deps
$lerpa --walkthrough6 steps· copy & run

From zero
to shipped.

Each step is one command you can copy and paste. No config to memorize — the CLI scaffolds components/ui, a cn utility, and your Tailwind v4 setup on the first run.

  1. $lerpainit

    Install the CLI

    Run init once at the root of your app. It sets up components/ui, adds a cn class-merge utility, and wires up Tailwind v4. Built for React 19 and Next.js 16.

    pnpm dlx lerpa-cli init

    Already have a project? initis idempotent — it detects your framework and only writes what's missing.

  2. $lerpaadd <id>

    Add a component

    Pull any component by id. The CLI reads the shadcn-compatible registry and copies the actual source into your project — you own the file, edit it freely.

    pnpm dlx lerpa-cli add button

    A few more ids to try:

    pnpm dlx lerpa-cli add area-chart-gradient
    pnpm dlx lerpa-cli add ai-chat-interface
  3. $lerpaimport

    Use it

    The component lands at components/ui/button.tsx. Import it from the @/components/uialias and render — it's just your code now.

    app/page.tsx
    import { Button } from "@/components/ui/button";
    
    export default function Page() {
      return <Button>Ship it →</Button>;
    }
  4. $lerpa--gallery

    Browse the gallery

    Not sure which id you need? The gallery renders every component live — hover, click, then copy the install line straight off the card.

    1179+components
    24animated charts
    178+page blocks
    16categories
  5. $lerpa--theme

    Theme it

    Every token is a CSS variable. Open Theme Studio, pick an accent, background, and radius, and watch the whole app recolor live — then export the :root block into your globals.css.

  6. $lerpa--mcp

    Wire up AI agents (MCP)

    The @lerpa/mcp-server is a Model Context Protocol server. Point Cursor or Claude Code at it and your agent can search the catalog and install components for you — no copy-paste round-trips.

    npx -y @lerpa/mcp-server

    Add it to your editor's MCP config as a stdio server — the agent gets search and add tools backed by the same live registry the CLI uses.

$lerpa --next↳ you're set up

That's it.
Now ship.

Six steps, one CLI. Pick components from the gallery, theme them in Theme Studio, and let your agent wire the rest through the MCP server.

lerpa · running
turbopack142ms
a11yAAA
tokens14
network14kb