Widget Builder
Click the FlowPilot icon in the toolbar while editing any widget.
FlowPilot is an AI assistant that can generate, modify, and refine A2UI interfaces based on natural language descriptions.
FlowPilot enables you to:
FlowPilot is available in multiple contexts:
Widget Builder
Click the FlowPilot icon in the toolbar while editing any widget.
Page Editor
Open FlowPilot from the page settings panel.
Flow Editor
Use FlowPilot within A2UI flow nodes.
Chat Interface
Start a conversation from the main FlowPilot panel.
Open FlowPilot
Click the FlowPilot icon or press Cmd/Ctrl + Shift + P.
Describe Your UI
Type a natural language description:
Create a user profile card with avatar on the left,name and email on the right, and a follow button belowReview the Result
FlowPilot generates the A2UI structure and shows a preview.
Iterate
Refine with follow-up requests:
Make the avatar circular and add a verified badgeApply Changes
Click Apply to insert the generated UI.
Create a card with:- Header showing product name and price- Image gallery with 3 thumbnail images- Add to cart button with quantity selector- Shipping estimate text belowMake a product cardReference existing elements and data:
Using the /product data, create a details page with:- Hero image from /product/images/0- Title from /product/name- Price with discount badge if /product/onSale is true- Description collapsible section- Related products grid at the bottomInclude visual requirements:
Create a modern dashboard card with:- Dark theme compatible (use dark: variants)- Subtle shadow and rounded corners- Gradient accent on the left border- Responsive: stack vertically on mobileGenerate a complete new interface:
Create a settings form with:- Profile section (avatar upload, name, email)- Notifications section (toggle switches)- Privacy section (checkboxes)- Save button at the bottomSelect a component and request changes:
Add a loading skeleton to this card that shows when/isLoading is trueConvert this list to a responsive grid with2 columns on tablet, 3 on desktopAdd new elements to existing UI:
Add a footer to this card with:- Timestamp on the left- Share and bookmark icons on the rightFlowPilot understands data paths and can create bindings:
Create a user list that iterates over /users and shows:- Avatar image from each user's profile- Name and role- Last active timestamp- Online status indicatorRequest conditional visibility:
Show an "Admin Badge" next to users where /user/isAdmin is true
Add an error message that only appears when /form/errorshas itemsApply data-driven styles:
Color the status badge:- Green when /status is "active"- Yellow when "pending"- Red when "error"Create a checkout form with:- Shipping address fields (name, address, city, state, zip)- Payment method selection (credit card, PayPal)- Credit card fields with validation- Order summary with item list and totals- Place order button
Validate required fields and show inline errorsCreate a analytics dashboard with:- 4 stat cards in a row (visitors, revenue, orders, conversion)- Line chart for traffic over time (full width)- Two columns below: recent orders table (left), top products (right)- All cards should have consistent styling and spacingCreate a master-detail layout:- Left sidebar (1/3 width) with searchable list of /contacts- Right panel (2/3 width) showing selected contact details- Show placeholder when no contact is selected- Highlight the selected item in the listReference your design system:
Use our brand colors:- Primary buttons should use bg-brand-500- Text should use text-gray-900 dark:text-gray-100- Cards use shadow-card with rounded-brand radiusRequest consistent patterns:
Follow our card pattern:- 24px padding, 8px border radius- Subtle border in light mode, no border in dark- Hover state with slight elevationAfter initial generation, refine with follow-ups:
Initial: Create a pricing table with 3 tiers
Refinement 1: Add a "Most Popular" badge to the middle tier
Refinement 2: Make the middle tier slightly larger and highlighted
Refinement 3: Add a toggle to switch between monthly/yearly pricingRequest alternatives:
Show me 3 different layout variations for this card
Try a more minimal version with less visual elements
What would this look like with a horizontal layout instead?Quickly sketch out a:- User onboarding flow with 4 steps- Settings page with 5 sections- Product listing page with filtersCreate reusable components:- Alert banner with dismiss button- Empty state with icon and action- Loading skeleton for card contentGenerate starter layouts:- Two-column layout with sidebar navigation- Dashboard grid with resizable panels- Full-screen modal with header/body/footerIf the output doesn’t match expectations:
For complex UIs:
Generated A2UI can be:
Track FlowPilot-generated UIs: