design_component_create
Generate a UI component spec for button, input, card, or modal. Customize framework, variant, size, label, placeholder, and title.
Instructions
Generate a UI component spec (button, input, card, modal).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Size token (xs|sm|md|lg|xl). | md |
| label | No | Button label (for button). | |
| title | No | Modal/card title. | |
| use_v0 | No | If true, attempt v0 code generation first; fall back to templates. | |
| variant | No | Visual variant (primary|secondary|ghost|outline|danger). | primary |
| component | Yes | Component name (button|input|card|modal). | |
| framework | No | Target framework (react|vue|svelte|html). | react |
| placeholder | No | Input placeholder (for input). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |