@solvind/cli
v0.1.1
Published
The universal component library CLI. Installs Solvind components into any project — plain HTML, Astro, Vue, Svelte, React, Laravel, WordPress. Detects your stack, resolves dependencies, protects your edits.
Maintainers
Readme
@solvind/cli
The universal component library CLI. Installs Solvind components into any project — plain HTML, Astro, Vue, Svelte, React, Next.js, Laravel, WordPress. Detects your stack, resolves dependencies, and protects your edits.
Components arrive as source code you own — no runtime dependency, no vendor lock-in.
Install
npx @solvind/cli@latest init
npx @solvind/cli add buttonCommands
| Command | What it does |
|---|---|
| solvind init [--theme <name>] | Detect your stack, write config, install tokens |
| solvind add <component> | Install a component (with its dependencies) |
| solvind add --category <name> | Install a whole category |
| solvind add --dry-run | Preview without touching disk |
| solvind list | Browse the catalog |
| solvind list --outdated | Check installed components for local edits / upstream drift |
How it protects your code
solvind add hashes the pristine source against your local copy. If you edited a component, re-adding it is blocked unless you pass --force. Your edits always win.
License
MIT — part of the Solvind library.
