Stateful Button
A toggleable (stateful) button that supports different labels/icons for off, on, and on-hover states, plus styling variant, selected state, and disabled state.
Built with Avonni Dynamic Components from the Avonni Experience Components package (avxp): the dcButtonStateful element inside a Dynamic Component. Deploy the custom metadata record from the Code tab first, then add the Dynamic Component to the page in Lightning App Builder.
Code
Loading code…