Umbraco style toggle component.
Preview the component on Storybook
npm i @umbraco-ui/uui-toggle
Import the registration of <uui-toggle>
via:
import '@umbraco-ui/uui-toggle';
When looking to leverage the UUIToggleElement
base class as a type and/or for extension purposes, do so via:
import { UUIToggleElement } from '@umbraco-ui/uui-toggle';
<uui-toggle label="Toggle" value="bike"></uui-toggle>