Planes

Components

Docs / Installation

Installation

How to install dependencies and structure your app.

Note

Pro components install through an authenticated registry — a one-time setup per project. Free components install exactly like shadcn/ui.

01

Create project

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

pnpm dlx shadcn@latest init
02

Add Pro components

Most Planes components are Pro. They are served through an authenticated registry, so they need a Planes Pro license configured once per project.

One command merges the @useplanes registry into your components.json, writes your key to .env.local, and keeps it out of git.

Run init — it configures everything for you.

pnpm dlx @useplanes/cli init --key your_key

Then install any Pro component by name.

pnpm dlx shadcn add @useplanes/command-palette

The setup page generates these commands pre-filled with your license key.

03

Import component

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

1import { CommandPalette } from "@/components/interactions/CommandPalette"2 3export default function Home() {4  return <CommandPalette />5}
04

Add free components

Free components install straight from the public registry — no license needed. Every component page shows its exact command:

pnpm dlx shadcn add https://planes.ashishgogula.in/r/segmented-control.json

The CLI writes the component source into your project and installs any dependencies it declares, like motion.