Skip to content

Toggle

View on: 

A toggle switch for forms.

Import



BundlerCDNReact Legacy
import '@kemet-ui/toggle';
<script type="module" src="https://unpkg.com/kemet-ui@latest/dist/elements/toggle.js"></script>
import { KemetToggle } from 'kemet-ui/react';

Use the squared attribute to make the toggle handle square.

You can show labels for the options you are toggling between.








The gods are nature. Nature is completely free.
Version 5.0.0