@esvigy/cli

Official CLI for Esvigy — add customizable, animated illustrations directly to your project.
375 3
Install
npm install @esvigy/cli
Latest Version:0.2.1
License:MIT
Last Updated:Oct 24, 2026
Links: GitHub  ·  npm
Maintainer: nickfrost1


@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.

npm version npm downloads bundle size MIT License React, Vue & SVG Ready Live Studio

🎨 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 esvigy is currently pending an npm support whitelist review (false-positive similarity flag with envify). 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:

  1. shadcn/ui components.json: If your project has a components.json configuration, esvigy reads your aliases.components path (e.g. @/components or ~/components) and targets <components>/esvigy/.
  2. Project Structure:
    • If src/components/ exists $\rightarrow$ targets src/components/esvigy/
    • If components/ exists $\rightarrow$ targets components/esvigy/
    • If src/ exists $\rightarrow$ targets src/components/esvigy/
    • Fallback: components/esvigy/
  3. Framework Auto-Detection: Inspects package.json dependencies 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

shapeso

Shape's icons from the terminal: search 11,160 catalog icons from Shape, Lucide,...

362
@tesserai/cli

Install a tesserai design system into your project as components you own, keep i...

2,584 0
@ravox-ui/cli

Add Ravox Kit components, blocks and themes to your project (React, Vue, Svelte...

628
denji

A CLI tool to manage your SVG icons

1,815 6
@incremark/icons

Incremark icons - SVG icon library for Vue, React, and Svelte components.

27,270 282

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