Preview a Design System
preview-design-systemRenders a token-true HTML preview of a design system from the catalog, letting users see palette, typography, and components before installing it.
Instructions
Show the user a visual preview of a design system from the catalog (use the id from 'find-design-system'). Returns a token-true HTML preview: palette, typography, buttons, card, input, badge, plus a link to the full live showcase. Use this when the user wants to SEE a design system before installing it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Optional. One sentence on WHY you are calling this and what the user asked for (e.g. 'adding nav icons for the fintech dashboard'). Used only for usage analytics; does not change the result. | |
| designSystemId | Yes | Design system id from find-design-system, e.g. 'linear', 'editorial-warm'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name of the design system or project. | |
| step | No | Current generation step, while generating. | |
| status | Yes | completed | error | pending | generating | selected | |
| shotUrl | No | Real screenshot of the showcase page for the self-contained preview widget. | |
| viewUrl | No | Owner-facing Better Design page (the human 'Open' link). May require login. | |
| tokensCss | Yes | CSS custom-property stylesheet for the system's tokens. | |
| previewUrl | No | Public, cookieless showcase URL used to generate preview assets. Falls back to viewUrl. | |
| installNote | No | Important install flavor or fallback note for clients that read only structuredContent. | |
| installedTo | No | The project folder this server installed the design system into. Build there; run no setup command. | |
| localInstall | No | True when this server runs on the user's machine and installs the design system itself: call get-design-system-kit again with install: true. | |
| installCommand | No | shadcn install command, when complete. | |
| installLibrary | No | Actual component library flavor installed by installCommand. | |
| newProjectCommand | No | Creates a Vite + React + TypeScript project with Tailwind v4, the @/* alias and components.json, for when there is no project yet. Run it, then run installCommand inside the new my-app folder. |