
Product
Introducing Reports: An Extensible Reporting Framework for Socket Data
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.
shadcn-vue
Advanced tools
A CLI for adding components to your project.
Use the create command to scaffold a new Vue project with shadcn-vue pre-configured.
npx shadcn-vue create
The create command will:
| Option | Description |
|---|---|
-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, --yes | Skip confirmation prompts |
# 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
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
| Option | Description |
|---|---|
--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, --defaults | Use default configuration |
-y, --yes | Skip confirmation prompts |
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]
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
shadcn-vue supports 5 visual styles that transform how components look:
| Style | Description |
|---|---|
| Vega | The classic shadcn/ui look. Clean, neutral, and familiar. |
| Nova | Reduced padding and margins for compact layouts. |
| Maia | Soft and rounded, with generous spacing. |
| Lyra | Boxy and sharp. Pairs well with mono fonts. |
| Mira | Compact. Made for dense interfaces. |
Presets are pre-configured combinations of style, icons, and fonts:
| Preset | Style | Icons | Font |
|---|---|---|---|
reka-vega | Vega | Lucide | Inter |
reka-nova | Nova | Hugeicons | Inter |
reka-maia | Maia | Hugeicons | Figtree |
reka-lyra | Lyra | Hugeicons | JetBrains Mono |
reka-mira | Mira | Hugeicons | Inter |
Visit http://shadcn-vue.com to view the documentation.
Licensed under the MIT license.
FAQs
Add components to your apps.
The npm package shadcn-vue receives a total of 45,647 weekly downloads. As such, shadcn-vue popularity was classified as popular.
We found that shadcn-vue demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Product
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.