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