generate_component
Generate a reusable UI component with AI. Provide a prompt describing the component to receive a URL that opens LayoutPilot in component mode, ready to produce code automatically.
Instructions
Generate a single UI component using LayoutPilot AI. Returns a URL that opens LayoutPilot in component mode with your prompt ready to generate reusable component code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Description of the component to generate (e.g., 'Animated pricing card with hover effects') | |
| auto_submit | No | Whether to automatically start generating when the URL is opened. Defaults to true. |