Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>ShadcnblocksNew to Visual Studio Code? Get it now.
Shadcnblocks

Shadcnblocks

Shadcnblocks

|
6 installs
| (0) | Free
Browse and install shadcn/ui blocks directly in your IDE
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Shadcnblocks VS Code Extension

Browse and install shadcn/ui blocks directly in your IDE.

Features

Block Browser

  • 1300+ UI Blocks - Browse hero sections, features, pricing, testimonials, and more
  • Search & Filter - Find blocks by name, description, or keywords
  • Archetype Filter - Filter by use case: Marketing, App, Portfolio, Ecommerce
  • Category Filter - Filter by component type: Hero, Feature, Pricing, CTA, etc.
  • Pro/Free Filter - Toggle between all blocks, free only, or pro only
  • Favorites - Heart any block to save it; filter to show only favorites
  • Thumbnail Previews - Visual previews for all blocks
  • One-Click Install - Install blocks directly via npx shadcn@latest add
  • Copy CLI Command - Copy the install command to clipboard
  • View Source Code - Preview block code (requires API key for Pro blocks)

Welcome Page

  • Shown on first install
  • Quick access to browse blocks, set API key, get Pro license

Installation

VS Code Marketplace

Search for "Shadcnblocks" in the VS Code Extensions marketplace.

Open VSX (Cursor, VSCodium)

Available on Open VSX Registry.

Usage

Sidebar Panel

Click the Shadcnblocks icon in the Activity Bar to open the block browser.

Commands

Command Description
Shadcnblocks: Welcome Open the welcome page
Shadcnblocks: Browse Blocks Focus the block browser
Shadcnblocks: Install Block Install a block via CLI
Shadcnblocks: View Code Preview block source code
Shadcnblocks: Refresh Refresh block data

Configuration

API Key

To access Pro blocks and view source code:

  1. Get your API key from shadcnblocks.com/dashboard
  2. Open VS Code Settings (Cmd+,)
  3. Search for "shadcnblocks.apiKey"
  4. Enter your key (starts with sk_live_)

Settings

Setting Default Description
shadcnblocks.apiKey "" Your API key for Pro access
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft