Skip to content

shadcn/svelte for VS Code

A VS Code extension that installs shadcn/svelte components and adds snippets for Svelte 4 and Svelte 5.

marketplace.visualstudio.com/items

shadcn/svelte for VS Code website screenshot
Added
Price
Free

About

About shadcn/svelte for VS Code

This Visual Studio Code extension by Selemondev brings shadcn/svelte into the editor. You can initialize the CLI, install one component or several from a list, and open the shadcn-svelte documentation or a specific component page. It also ships snippets: type cn or shadcn in a Svelte file and pick a component.

Snippet prefixes differ by version. Svelte 4 uses cni-accordion and cnx-accordion, and Svelte 5 uses cni-x-accordion and cnx-accordion-next, with cn-help and cn-x-help explaining each set. Install it from the Visual Studio Marketplace, where it is free with about 20,300 installs. It fits Svelte developers working with shadcn/svelte.

shadcn/svelte for VS Code features

6 features

  • Initialize the shadcn/svelte CLI
  • Install one or many components
  • Open component docs from VS Code
  • Import and usage snippets
  • Separate Svelte 4 and Svelte 5 prefixes
  • Free on the Visual Studio Marketplace

What you can build with shadcn/svelte for VS Code

3 use cases

  • Adding several components to a SvelteKit project at once
  • Inserting a component's import with a snippet
  • Jumping to a component's docs page

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/svelte 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