scaffold_ui_component
Injects a production-ready UI component (button, switch, slider, card, spring-button, glass-button, pull-to-refresh, bottom-nav) with integrated logic, physics springs, and state machines.
scaffold_ui_component is an official Exode MCP tool that allows AI coding assistants like Claude Code, Cursor, and Windsurf to injects a production-ready ui component (button, switch, slider, card, spring-button, glass-button, pull-to-refresh, bottom-nav) with integrated logic, physics springs, and state machines.. 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:
"Scaffold a toggle switch component with active and inactive states in components/switch.exode"Tool Parameters & Input Schema
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | Optional | The name parameter for scaffold_ui_component. |
| parentId | string | Optional | The parentId parameter for scaffold_ui_component. |
| path | string | Yes | The path parameter for scaffold_ui_component. |
| type | string | Yes | The type parameter for scaffold_ui_component. |
| x | number | Optional | The x parameter for scaffold_ui_component. |
| y | number | Optional | The y parameter for scaffold_ui_component. |
More Components & Assets Tools
Build & Review Motion Visually
Let Claude or Cursor run scaffold_ui_component, then fine-tune timing, spring physics, and export ready-to-ship code in ExodeUI.