create-rezi¶
create-rezi is the CLI package that scaffolds new Rezi apps.
Usage¶
Equivalent direct invocation:
The CLI prompts for any missing values (project name/template) when run interactively.
Templates¶
Canonical template names:
dashboard(alias:dash)stress-test(aliases:stress,chaos,bench)cli-tool(aliases:cli,tool,multiscreen)animation-lab(aliases:animation,anim,lab,motion)minimal(aliases:mini,basic,utility)starship(aliases:ship,bridge,command)
animation-lab is the canonical reference for Rezi's declarative motion APIs (useTransition, useSpring, useSequence, useStagger) plus ui.box transition props and runtime theme cycling.
stress-test and animation-lab derive major lane/canvas chrome from the active theme palette so dark/light/high-contrast presets remain coherent by default.
Use a specific template:
npm create rezi my-app -- --template dashboard
npm create rezi my-app -- --template cli-tool
npm create rezi my-app -- --template animation-lab
npm create rezi my-app -- --template starship
npm create rezi my-app -- --template minimal
# Bun
bun create rezi my-app -- --template dashboard
bun create rezi my-app -- --template cli-tool
bun create rezi my-app -- --template animation-lab
bun create rezi my-app -- --template starship
bun create rezi my-app -- --template minimal
List templates and highlights:
For full template descriptions and highlights, use: Getting Started -> Create Rezi.
Template dev workflow notes:
minimal,dashboard,cli-tool, andstarshiptemplates runtsx src/main.ts --hsrfornpm run dev/bun run dev.- This enables in-process hot state-preserving reload through
@rezi-ui/nodecreateNodeApp({ hotReload: ... }).
Options¶
--template, -t <name>: Select a template (dashboard,stress-test,cli-tool,animation-lab,minimal,starship, plus aliases).--no-install, --skip-install: Skip dependency installation.--pm, --package-manager <npm|pnpm|yarn|bun>: Choose a package manager.--list-templates, --templates: Print available templates and highlights.--help, -h: Show help.
Template Smoke Check¶
Run deterministic template smoke checks (metadata consistency + build/typecheck + test scaffolding expectations):
Run the installed smoke path used in CI (scaffold temp project -> local package install -> build -> test):