Skip to content

Switch - CSS Component โ€‹

Playground โ€‹

Customization โ€‹

Construction โ€‹

Common API

For the basics, check the common specifications.

The CSS component uses a <input type="checkbox"> tag or a <label> tag, depending if you want to insert a describing set for the input.

z-switch โ€‹

The z-switch parameter is the main parameter used to render the switch component.

Browser support โ€‹

Detected engine: ย 

  • Chromium

  • Webkit

  • Gecko

HTML Examples โ€‹

CodeSandbox example โ€‹