Interaction scripts Utilities for click handling, state toggling and user-triggered actions. Class toggle Toggle one or many CSS classes from triggers. Click away Apply behavior when users click outside a target. Simulate click Forward click intent to another element. Toggle button data Swap button label and icon states declaratively.