Launch Week Day 1: Socket for Jira Is Now Available.Learn More
Socket
Book a DemoSign in
Socket

shadcn-vue

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shadcn-vue

Add components to your apps.

latest
Source
npmnpm
Version
2.6.2
Version published
Weekly downloads
55K
-6.44%
Maintainers
1
Weekly downloads
 
Created
Source

shadcn-vue

A CLI for adding components to your project.

Usage

create

Use the create command to scaffold a new Vue project with shadcn-vue pre-configured.

npx shadcn-vue create

The create command will:

  • Create a new Vue project (Nuxt, Vite, or Vite + Vue Router)
  • Configure Tailwind CSS
  • Set up shadcn-vue with your chosen design system

Options

OptionDescription
-t, --template <template>Framework template: nuxt, vite, or vite-router
-p, --preset <preset>Use a preset: reka-vega, reka-nova, reka-maia, reka-lyra, reka-mira
--base <base>Component library: reka
--style <style>Visual style: vega, nova, maia, lyra, mira
--icon-library <lib>Icon library: lucide, tabler, hugeicons, phosphor, remixicon
--font <font>Font: inter, figtree, jetbrains-mono, geist, geist-mono
-b, --base-color <color>Base color: neutral, gray, zinc, stone, slate
-y, --yesSkip confirmation prompts

Examples

# Interactive mode
npx shadcn-vue create

# Use a preset
npx shadcn-vue create --preset reka-nova

# Full customization
npx shadcn-vue create --template nuxt --style maia --icon-library hugeicons --font figtree

init

Use the init command to initialize dependencies for an existing project.

The init command installs dependencies, adds the cn util, configures tailwind.config.js, and CSS variables for the project.

npx shadcn-vue init

Options

OptionDescription
--base <base>Component library: reka
--style <style>Visual style: vega, nova, maia, lyra, mira
--icon-library <lib>Icon library: lucide, tabler, hugeicons, phosphor, remixicon
--font <font>Font: inter, figtree, jetbrains-mono, geist, geist-mono
-b, --base-color <color>Base color: neutral, gray, zinc, stone, slate
-d, --defaultsUse default configuration
-y, --yesSkip confirmation prompts

add

Use the add command to add components to your project.

The add command adds a component to your project and installs all required dependencies.

npx shadcn-vue add [component]

Example

npx shadcn-vue add alert-dialog

You can also run the command without any arguments to view a list of all available components:

npx shadcn-vue add

Visual Styles

shadcn-vue supports 5 visual styles that transform how components look:

StyleDescription
VegaThe classic shadcn/ui look. Clean, neutral, and familiar.
NovaReduced padding and margins for compact layouts.
MaiaSoft and rounded, with generous spacing.
LyraBoxy and sharp. Pairs well with mono fonts.
MiraCompact. Made for dense interfaces.

Presets

Presets are pre-configured combinations of style, icons, and fonts:

PresetStyleIconsFont
reka-vegaVegaLucideInter
reka-novaNovaHugeiconsInter
reka-maiaMaiaHugeiconsFigtree
reka-lyraLyraHugeiconsJetBrains Mono
reka-miraMiraHugeiconsInter

Documentation

Visit http://shadcn-vue.com to view the documentation.

License

Licensed under the MIT license.

Keywords

components

FAQs

Package last updated on 12 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts