npm.io
2.1.0 • Published 3 months ago

@igloo-ui/toggle

Licence
Apache-2.0
Version
2.1.0
Deps
3
Size
24 kB
Vulns
0
Weekly
0
Stars
24

Toggle

Toggle is a component used for binary choice for a given option.

Installation

To install @igloo-ui/toggle in your project, you will need to run the following command using npm:

npm install @igloo-ui/toggle

If you prefer Yarn, use the following command instead:

yarn add @igloo-ui/toggle

Usage

import Toggle from '@igloo-ui/toggle';

<Toggle htmlFor="toggle-id">Label</Toggle>;