generate_hero
Generates a Framer-quality website hero section artboard. Produces a complete .exode file with title, subtitle, CTA buttons, decorative SVG elements (blobs, grids, waves, dots, geometric, circles, squares), entrance animation, ambient idle animation, and CTA hover/pulse state machine. Every generation is unique — random palette, layout, background style, decoration, and animation style combine to produce varied results. Use list_styles to see available palettes and layouts.
generate_hero is an official Exode MCP tool that allows AI coding assistants like Claude Code, Cursor, and Windsurf to generates a framer-quality website hero section artboard. produces a complete .exode file with title, subtitle, cta buttons, decorative svg elements (blobs, grids, waves, dots, geometric, circles, squares), entrance animation, ambient idle animation, and cta hover/pulse state machine. every generation is unique — random palette, layout, background style, decoration, and animation style combine to produce varied results. use list_styles to see available palettes and layouts.. It directly inspects and modifies local .exode JSON files with precision without manual UI tweaking.
Example Prompt for Claude Code & Cursor
Give this instruction to your AI coding agent to execute this tool on your active .exode workspace:
"Use generate_hero to configure the motion properties in my active .exode workspace"Tool Parameters & Input Schema
| Parameter | Type | Required | Description |
|---|---|---|---|
| artboardHeight | number | Optional | Artboard height in px (default: 800, or 900 for webpage type) |
| artboardWidth | number | Optional | Artboard width in px (default: 1200, or 1440 for webpage type) |
| bgStyle | string | Optional | Background style (default: random) |
| cta | string | Optional | Call-to-action button text (default: 'Get Started') |
| fontPair | number | Optional | Font pair index (0-9). Different heading/body combos. |
| layout | string | Optional | Layout mode (default: 'centered') |
| palette | number | Optional | Color palette index (0-14). Call list_styles to see all. Omits = random. |
| path | string | Yes | Save path for the .exode file (e.g. 'hero/my-hero.exode') |
| projectType | string | Optional | Project type for smart artboard defaults: webpage (1440x900), mobile (390x844), desktop (1440x900), hero (1200x800) |
| secondaryCta | string | Optional | Optional secondary CTA button text |
| subtitle | string | Optional | Optional subheading text |
| title | string | Optional | Main hero headline (default: 'Build Something Amazing') |
More Components & Assets Tools
Build & Review Motion Visually
Let Claude or Cursor run generate_hero, then fine-tune timing, spring physics, and export ready-to-ship code in ExodeUI.