get_recipe
The universal BUILD-KIT fetcher — the measured spec + code to reproduce a piece of UI.
recipe_type selects which library across three families (all agent-ready through this one call):
• COMPONENTS (decoded live from a real product's DOM — Mozaika's wedge): "Command Palette",
"Dropdown Menu", "Dialog / Modal", "Login", "Data Table", "Onboarding Tour", "Navbar",
"Logo Marquee", "Toast", "Date Picker", "Combobox" — returns the anatomy TREE (each node
measured), the MOTION (open/close animation + easing a screenshot can't show), every STATE
(empty/results/no-results/keyboard-selected), a webm of it running, and the design tokens.
• EFFECTS (open-source WebGL hero backgrounds — Apache/MIT): "Hero Effect" → the shader's
full config + fps + install command + license/NOTICE.
• MOTION (open-source looping showcase templates — MIT): "Motion Showcase" → the template's
full parameter surface + the exact Swiper/anime.js/Motion config + install.
Use for "build a like ", e.g. get_recipe("Vercel", "Command Palette") or
get_recipe("vanta", "Hero Effect"). A complete, uncopyable, measured build kit. Returns the
available types if the requested one isn't found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | ||
| recipe_type | Yes |