UILab

Toggle

A two-state button that can be either on or off.

Usage

import { Toggle } from "uilab-core"
<Toggle>Toggle</Toggle>

Examples

Outline

Use variant="outline" for an outline style.

Sizes

Use the size prop to change the size of the toggle.

Text

Disabled

On this page