Inspect UI components and official catalogues
shadcn_uiDefault action local retrieves the existing adapted components. action search discovers the official shadcn or magicui catalogue; action inspect reads source and bounded dependency/CSS/provenance information, never installs. Official upstream items require compatibility review and are not runtime verified. Get shadcn/ui component code pre-adapted for the Sandpack preview environment. Available components: accordion, dropdown_menu, dialog, sheet, tooltip, progress, separator, scroll_area, skeleton, alert. Returns ready-to-use JS code with correct imports. Use this instead of building complex UI primitives from scratch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Search page size, 1–30 | |
| query | No | Catalogue search text; empty lists all items | |
| action | No | local (default), search, or inspect | local |
| offset | No | Search page offset | |
| registry | No | shadcn (default) or magicui | |
| component | No | Local component or official hyphenated item name. Local: accordion, dropdown_menu, dialog, sheet, tooltip, progress, separator, scroll_area, skeleton, alert | |
| tailwindVersion | No | Target Tailwind 3 (default) or 4. MagicUI current source targets 4. |