Search Components
Search for shadcn-compatible components across the registries in the official directory (418 on 2026-10-02).
Instructions
- Read the skill at
${CLAUDE_PLUGIN_ROOT}/skills/component-search/SKILL.md - Read the registry reference at
${CLAUDE_PLUGIN_ROOT}/skills/component-search/references/community-registries.md - Parse the user's search query from "$ARGUMENTS" (e.g., "animated button", "date range picker", "chat component", "pricing section")
- Identify the most relevant category: animation, extended UI, blocks, e-commerce, AI, file upload, other
- Present matching registries and components with install commands. Check each registry's
health.statusinhttps://ui.shadcn.com/r/registries.json: never recommend anunavailableor hidden one, and flagdegradedones:
## Results for "$ARGUMENTS"
### Recommended registries:
- **@registryname** — description
Install: `npx shadcn@latest add @registryname/component`
### Also check:
- **@registryname2** — description
- Check if the user's project has
components.json— if registries are not configured, suggest running/setup-registriesfirst - If the official
shadcnMCP server is available, use it for more specific matches — it searches all registries configured incomponents.json:mcp__plugin_nextjs-provision_shadcn__search_items_in_registries— fuzzy search (its printedAdd commandis broken in shadcn 4.21.1 — do not copy it)mcp__plugin_nextjs-provision_shadcn__view_items_in_registries— read an item's files before installingmcp__plugin_nextjs-provision_shadcn__get_add_command_for_items— the correctnpx shadcn@latest add @registry/itemcommand
- Without the MCP, use the CLI:
npx shadcn@latest search @registry -q "<term>"andnpx shadcn@latest view @registry/item