Built-in patterns
| Widget | Use cases |
|---|---|
| Interactive map | Visualize store locations, delivery zones, or service coverage with zoom and tooltips. |
| Image carousel | Highlight feature screenshots, product photos, or design mockups. |
| Photo album | Display grid galleries with lightbox navigation. |
| Scrollable list | Present search results or structured records with sorting and filters. |
| Video player | Embed how-to videos or product demos directly in the generated page. |
Customize prompts
To influence widget selection, include cues in your prompt:- “Show nearby clinics on a map.”
- “Add a carousel with three customer testimonials.”
- “Create a pricing table with cards for Starter and Pro tiers.”
Reference implementation
The pizzaz-mcp-heroku repository demonstrates the full widget stack—MCP server, manifest, and front-end components. Use it as a blueprint when designing custom widgets.Key files
/widgets/*.html– iframe HTML for each widget./widgets/static/*– CSS and JavaScript assets./server/tools/*.py– MCP tool definitions that return widget metadata.
After transfer
Once the app lives in your Heroku account you can:- Replace placeholder data with content from your database or APIs.
- Swap the widget framework for your preferred component library (React, Vue, etc.).
- Add analytics or event tracking to understand user interaction with widgets.