Docs menu

Components and Interaction

Interactive Components

State artwork, preview behavior and generated APIs for the five proven Interactive Asset families.

Proven families

ComponentRequired statesGenerated direction
Interactive ButtonNormal / PressedFG_On_*_Clicked(void)
Interactive Toggle SwitchOFF / ONFG_On_*_Toggled(bool enabled)
Interactive Three-Position Toggle SwitchLEFT / CENTER / RIGHTFG_On_*_Changed(fg_three_way_state_t state)
Interactive LightOFF / ONFG_Set_*(bool enabled)
Interactive Status IndicatorOFF / ONFG_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.

Export behavior