Generate Page
sp_generateGenerates a UI page from a text prompt, automatically applying WCAG accessibility fixes, responsive breakpoints, and design system rules, with optional framework conversion.
Instructions
Generate a UI page with optional design system enforcement, accessibility fixes, responsive breakpoints, and framework conversion
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Description of the page to generate | |
| projectId | Yes | Stitch project ID | |
| deviceType | No | Target device | DESKTOP |
| framework | No | Output framework | html |
| componentLibrary | No | Component library to map to | none |
| accessibility | No | Run WCAG 2.1 AA audit and auto-fix | |
| responsive | No | Inject responsive breakpoints | |
| designSystemId | No | ID of a previously created design system |