Skip to content

Files

Latest commit

Mar 26, 2025
56c3e8b · Mar 26, 2025

History

History
This branch is 32 commits behind v1/contrib.

uui-toggle

uui-toggle

npm

Umbraco style toggle component.

See it in action

Preview the component on Storybook

Installation

ES imports

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';

Usage

<uui-toggle label="Toggle" value="bike"></uui-toggle>