Getting Started
You have two ways to get started:- Use a pre-built template. Click one of the available templates to instantly generate a widget based on a common use case.
- Type your own description. Enter a plain-language description of the widget you want to create (e.g., “a contact form with name, email, and message fields”).
What the AI Generates
When you submit a prompt or select a template, the AI generates a complete widget including:- Code — the full widget implementation ready to render.
- Schema — the data schema that defines the widget’s structure and input fields.
- Default example — a pre-populated example so you can see the widget in action immediately.
- Functions and states — relevant functions and UI states scaffolded for you automatically.
Refining Your Widget
After the initial generation, you can send follow-up messages to refine the widget. The AI Builder works as a conversation, so you can iterate naturally. Examples of refinement prompts:- “Make the button blue”
- “Add a phone number field”
- “Change the heading text to Welcome Back”
- “Remove the email validation”
Undo
If a generation does not meet your needs, you can restore to the previous version. This lets you experiment freely without losing your earlier work.Use undo to roll back to the last known good version before trying a different prompt.