Taiga UI 5.0 is out!

Switch KIT

GitHub

On this page

See also

Checkbox, Radio, Block, Label
A switch component that is able to imitate native control on mobile platforms.
Use --tui-background-accent-2 CSS variable to customize color of native control emulation

Platforms

Add import of @taiga-ui/addon-mobile/styles/taiga-ui-mobile.less to your encapsulated global styles to enable power of TuiPlatform directive.

Same color