Install ShipUI components and starters into your Next.js project. Base components are free. Premium theme styling requires a theme purchase.
# Create a new themed project from scratch
npx @voltenworks/shipui init --theme aloha
# Or add components to an existing Next.js project
npx @voltenworks/shipui add buttonCreate a new ShipUI project or set up an existing one.
New project (no package.json in current directory): scaffolds a full Next.js project with your chosen theme, including all pages, components, and styling.
npx @voltenworks/shipui init --theme aloha --yes
npx @voltenworks/shipui init --theme aloha --features auth --provider clerk --yes
npx @voltenworks/shipui init --theme aloha --features auth,dashboard --yesExisting project (has package.json with Next.js): creates a shipui.json config file with your project paths and optional default theme.
npx @voltenworks/shipui init
npx @voltenworks/shipui init --theme folio --yes| Flag | Description |
|---|---|
--theme <slug> |
Theme to scaffold (e.g. aloha, folio, retro) |
--features <items> |
Comma-separated starters to install (e.g. auth, dashboard) |
--provider <name> |
Auth provider (e.g. clerk) |
--registry <url> |
Registry URL override |
--token <token> |
Authentication token for paid themes |
--yes |
Use defaults without prompting |
Install a component or starter into your project.
# Base components (free, no auth)
npx @voltenworks/shipui add button
npx @voltenworks/shipui add badge
npx @voltenworks/shipui add card
npx @voltenworks/shipui add text
# With premium theme styling
npx @voltenworks/shipui add button --theme aloha
npx @voltenworks/shipui add card --theme retro
# Starters (multi-file feature scaffolds)
npx @voltenworks/shipui add auth --provider clerk --theme aloha
npx @voltenworks/shipui add dashboard --theme folioFree themes don't require auth. Paid themes require a purchase token via npx @voltenworks/shipui login.
| Flag | Description |
|---|---|
--theme <slug> |
Apply theme styling |
--provider <name> |
Select starter provider (e.g. clerk) |
-y, --yes |
Skip all confirmation prompts |
--overwrite |
Overwrite existing files |
--dry-run |
Preview changes without writing files |
--force |
Override theme conflict guard |
--token <token> |
Auth token (alternative to login) |
List available components, starters, and themes.
npx @voltenworks/shipui list
npx @voltenworks/shipui list --theme aloha
npx @voltenworks/shipui list --category ui
npx @voltenworks/shipui list --freeShow details about a component or starter, including available themes, pricing, and install commands.
npx @voltenworks/shipui info button
npx @voltenworks/shipui info authAuthenticate with your purchase token (from your purchase confirmation email).
npx @voltenworks/shipui login
npx @voltenworks/shipui login --token <token>Tokens are stored globally at ~/.config/shipui/config.json and persist across all projects.
Diagnose your project setup for ShipUI compatibility. Checks Node version, Tailwind v4, PostCSS config, globals.css, auth tokens, registry connectivity, and dependencies.
npx @voltenworks/shipui doctorCreated by init or automatically on first add. Stores project paths, default theme, and installed features.
{
"$schemaVersion": 2,
"registry": "https://www.voltenworks.com/api/registry",
"theme": "aloha",
"projectType": "custom",
"features": {
"auth": { "included": true, "provider": "clerk", "providerInstalled": true },
"dashboard": { "included": true }
},
"paths": {
"components": "src/components",
"lib": "src/lib",
"css": "src/app/globals.css"
},
"importAlias": "@/"
}Without a config file, the CLI auto-detects paths from your project structure.
When running add, the theme is resolved in this order:
--theme <slug>flag"theme"field inshipui.json- Auto-detected from
/* shipui:theme:<slug>:start */marker inglobals.css
Auth tokens are checked in this order:
--tokenflagSHIPUI_TOKENenvironment variable- Pro bundle token (
theme_pro) - Theme bundle token (
theme_<slug>_bundle) - Single theme token (
theme_<slug>)
Starters are multi-file feature scaffolds. They install pages, components, hooks, validation, and CSS.
Login, signup, and forgot-password pages with form hooks, Zod validation, and an AuthForm component.
npx @voltenworks/shipui add auth --provider clerk
npx @voltenworks/shipui add auth --provider clerk --theme alohaAfter installing, wrap your root layout with ClerkProvider and add your Clerk API keys to .env.local.
Admin layout with sidebar, topbar, shell, overview page (stat cards, activity feed, checklist), and settings page.
npx @voltenworks/shipui add dashboard
npx @voltenworks/shipui add dashboard --theme folioWhen installing with a theme, the CLI appends theme tokens and component CSS to your globals.css using markers:
/* shipui:theme:aloha:start */
@theme { ... }
:root { --ui-accent: ...; }
/* shipui:theme:aloha:end */
/* shipui:component:aloha-button:start */
.btn-base { ... }
/* shipui:component:aloha-button:end */One theme per project by default. Use --force to override.
| Variable | Description |
|---|---|
SHIPUI_TOKEN |
Auth token (overrides stored config) |
SHIPUI_REGISTRY |
Registry URL override (used by init) |
MIT