All Sources/shadcnblocks
shadcnblocks

shadcnblocks

shadcnblocks components (包括 Base UI 版本)

1 public component~30 min cache
Endpoint
https://proxy.collectui.pro/api/r/shadcnblocks/{name}.json
No bulk fetching

Configure the registry and MCP (quick setup via Copy to Agent on this page) and your agent can drive the entire component library for development — no need to bulk-download components in advance.

High-frequency, sustained bulk fetching puts the upstream license key at risk and is strictly prohibited. Once detected, the key is banned immediately with no refund.

Normal CLI and MCP usage never triggers this.

If you need a backup, use the provided repositories (pre-fetched snapshots, maintained and updated monthly).

Public Components

hero49

components.json Configuration

Add the config below to your project's components.json. Auth matches the library; url points to this proxy.

json
"registries": {
  "@shadcnblocks": {
    "url": "https://proxy.collectui.pro/api/r/shadcnblocks/{name}",
    "headers": {
      "Authorization": "Bearer ${SHADCNBLOCKS_API_KEY}"
    }
  }
}

Public trial credentials

Define environment variables in .env.local, then fill in the trial or paid values distributed by the proxy. Variable names stay consistent with the upstream config.

bash
SHADCNBLOCKS_API_KEY=try_shadcnblocks_public_2026
SHADCNBLOCKS_API_KEY=try_shadcnblocks_public_2026

Install command

For first-time use, include shadcn@latest, then you can use shadcn directly to speed up installs.

@shadcnblocks
bash
npx shadcn@latest add @shadcnblocks/hero49