@esvigy/cli
| Install | |
|---|---|
npm install @esvigy/cli |
|
| Latest Version: | 0.2.1 |
| License: | MIT |
| Last Updated: | Oct 24, 2026 |
| Links: | GitHub · npm |
@esvigy/cli
UI illustrations as simple, tree-shakable, and developer-friendly as icons.
The "shadcn for illustrations" — Copy-paste beautiful, customizable, and animated vector illustrations directly into your project.
🎨 Open the Interactive Illustration Studio (esvigy.vercel.app)
Preview all 30+ illustrations live, test two-tone palettes, toggle animations, and copy CLI commands with one click.
⚡ Quick Start
You don't need to install this package permanently. Run it directly with your package manager:
# With pnpm
pnpm dlx @esvigy/cli add
# With npm
npx @esvigy/cli add
# With bun
bunx @esvigy/cli add
# With yarn
yarn dlx @esvigy/cli add
Note: The unscoped alias
esvigyis currently pending an npm support whitelist review (false-positive similarity flag withenvify). In the meantime, use@esvigy/cli.
If no arguments are passed, an interactive wizard prompts you to select illustrations, target framework, and verifies your installation folder.
🚀 Direct Usage
Add a specific illustration:
# React component (.tsx)
pnpm dlx @esvigy/cli add ActionCreate --framework react
# Raw SVG (.svg) into public folder
pnpm dlx @esvigy/cli add EmptyBox --framework svg --dir public/illustrations
# Multiple illustrations at once
pnpm dlx @esvigy/cli add StatusSuccess StatusFail StatusProcessing
🧠 Smart Component Folder Auto-Detection
esvigy automatically inspects your project layout so you don't have to specify --dir every time:
- shadcn/ui
components.json: If your project has acomponents.jsonconfiguration,esvigyreads youraliases.componentspath (e.g.@/componentsor~/components) and targets<components>/esvigy/. - Project Structure:
- If
src/components/exists $\rightarrow$ targetssrc/components/esvigy/ - If
components/exists $\rightarrow$ targetscomponents/esvigy/ - If
src/exists $\rightarrow$ targetssrc/components/esvigy/ - Fallback:
components/esvigy/
- If
- Framework Auto-Detection:
Inspects
package.jsondependencies to determine whether you're using React, Vue, or Svelte, and pre-selects the appropriate framework in the interactive prompt.
📋 Commands
esvigy add [illustrations...]
| Option | Shorthand | Description | Default |
|---|---|---|---|
--framework |
-f |
Target framework (react, svg, vue, svelte) |
Auto-detected |
--dir |
-d |
Target folder for the components | Auto-detected components/esvigy |
--yes |
-y |
Skip interactive prompts and accept detected defaults | false |
--overwrite |
Overwrite existing files if they already exist | false |
esvigy list
List all 30+ illustrations in the catalog with category groupings and tags:
# List all illustrations
pnpm dlx @esvigy/cli list
# Filter by category
pnpm dlx @esvigy/cli list --category empty-states
pnpm dlx @esvigy/cli list --category status
pnpm dlx @esvigy/cli list --category actions
# Output as JSON
pnpm dlx @esvigy/cli list --json
📄 License
MIT © Nick Frost
Related Packages
Install a tesserai design system into your project as components you own, keep i...
Add Ravox Kit components, blocks and themes to your project (React, Vue, Svelte...
Version History
| Version | Released | License |
|---|---|---|
| 0.2.1 | MIT | |
| 0.2.0 | MIT | |
| 0.1.0 | MIT |
Pre-releases (1)
| Version | Released | License |
|---|---|---|
| 0.0.0-stage |