A switch is used to quickly change between two mutually exclusive states. Much like a light switch, they are designed to provide immediate results — giving users the freedom to control their preferences as needed. The design of a switch provides visual cues that the interaction will be instant (because it looks like a traditional analog switch) and therefore their presence on the UI is easily understood by many users.
TWIG : Betclic/_common/_twig/_components/_forms/_switch.twig
CSS : Betclic/_tactics/_common/_css/_components/_form/_switch.scss
Angular component : <bcdk-switch>