generate_from_template
Generate a customized UI screen from a predefined template (dashboard, login, pricing, etc.) by specifying style, device, and custom instructions for faster design.
Instructions
Generates a screen from a predefined UI template with user customizations. Provides 10 common templates (dashboard, settings, login, profile, pricing, landing-hero, data-table, kanban-board, chat-interface, file-manager) as a base prompt, layered with custom instructions for faster UI generation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | Overall visual style. | modern |
| template | Yes | The base template to use. | |
| projectId | Yes | The project ID. | |
| deviceType | No | Target device type. | DESKTOP |
| customization | No | Custom instructions to layer on top of the template (e.g., 'use dark theme with purple accents, add a sidebar with user avatar'). |