Socket
Socket
Sign inDemoInstall

@owlui/switchtoggle

Package Overview
Dependencies
59
Maintainers
4
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @owlui/switchtoggle

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


Version published
Weekly downloads
3
decreased by-86.96%
Maintainers
4
Created
Weekly downloads
 

Changelog

Source

0.0.44 (2022-10-20)

Note: Version bump only for package @owlui/root

Readme

Source

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>

FAQs

Last updated on 20 Oct 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc