@owlui/switchtoggle
TypeScript icon, indicating that this package has built-in type declarations

0.0.44 • Public • Published

SwitchToggle Overview

Simple Bootstrap Switch Toggle component. Known as "Switch" - documentation can be found here: https://react-bootstrap.github.io/forms/checks-radios/#switches

Description

This SwitchToggle component allows the user to click in order to switch between states, using a boolean.

Example states: TRUE/FALSE, ON/OFF or ACTIVE/INACTIVE.

Click on each component to visit the Bootstrap docs and check out the complete list of available props:

Usage

Click the toggle to switch between opposing states.

Example

<Form>
  <Form.Check 
    type="switch"
    id="custom-switch"
    label="Check this switch"
  />
</Form>

## Example (disabled)
<Form>
  <Form.Check 
    disabled
    type="switch"
    label="disabled switch"
    id="disabled-custom-switch"
  />
</Form>

Readme

Keywords

none

Package Sidebar

Install

npm i @owlui/switchtoggle

Weekly Downloads

5

Version

0.0.44

License

MIT

Unpacked Size

8.01 kB

Total Files

15

Last publish

Collaborators

  • oseivale
  • sclarkeosg
  • cicerofonsecaosg
  • caube_osg