Skip to content

shadcn/vue for VS Code

A VS Code extension that installs shadcn/vue components and adds import and template snippets for Vue files.

marketplace.visualstudio.com/items

shadcn/vue for VS Code website screenshot
Added
Price
Free

About

About shadcn/vue for VS Code

This Visual Studio Code extension by Selemondev lets you work with shadcn/vue from the editor. You can initialize the CLI, install a single component or pick several from a list, and open the shadcn-vue docs or a component's page. Snippets cover the rest: type cn or shadcn in a Vue file and choose a component.

The cni prefix adds a component's imports and cnx adds its template, and cn-help explains how they work. For example, cni-alert imports the Alert parts and cnx-alert inserts a starter template. Install it from the Visual Studio Marketplace, where it is free with about 17,800 installs. It suits Vue developers using shadcn/vue.

shadcn/vue for VS Code features

6 features

  • Initialize the shadcn/vue CLI
  • Install one or several components
  • Open component docs from VS Code
  • Import snippets with cni
  • Template snippets with cnx
  • Free on the Visual Studio Marketplace

What you can build with shadcn/vue for VS Code

3 use cases

  • Adding a batch of components to a Nuxt or Vite app
  • Dropping an Alert template into a page
  • Jumping from a component to its docs

Pricing

Ship it with Pro

The directory is free. Pro adds 6,000+ blocks, 14 premium templates and the MCP server, so your AI editor installs them for you.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What shadcn/vue for VS Code is, how to install it, its license and its alternatives.

4.9 out of 5 from 150+ developers

Found your stack? Ship it.

6,000+ blocks, premium templates and MCP in every Pro plan. The directory stays free.

Get Pro