Components and Interaction
Interactive Components
State artwork, preview behavior and generated APIs for the five proven Interactive Asset families.
Proven families
| Component | Required states | Generated direction |
|---|---|---|
| Interactive Button | Normal / Pressed | FG_On_*_Clicked(void) |
| Interactive Toggle Switch | OFF / ON | FG_On_*_Toggled(bool enabled) |
| Interactive Three-Position Toggle Switch | LEFT / CENTER / RIGHT | FG_On_*_Changed(fg_three_way_state_t state) |
| Interactive Light | OFF / ON | FG_Set_*(bool enabled) |
| Interactive Status Indicator | OFF / ON | FG_Set_*(bool enabled) |
Preview behavior
Canvas and Browser Preview use contained, centered state artwork within persisted component geometry. Input controls change preview state through interaction. Output controls may expose temporary preview state for visual checking, but firmware state remains application-controlled.
