d

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore.

15 St Margarets, NY 10033
(+381) 11 123 4567
ouroffice@aware.com

 

KMF

React Styled Toggle Switch Component

A highly customizable toggle button (switch) component for React applications.

How to use it:

1. Install and import the switch component.

# Yarn
$ yarn add react-styled-toggle

# NPM
$ npm i react-styled-toggle
import Toggle from 'react-styled-toggle';

2. Create a basic toggle switch.

<Toggle />

3. Customize the toggle switch with the following props.

checked: boolean
disabled: boolean
onChange: () => void
backgroundColorChecked: string
backgroundColorUnchecked: string
backgroundColorButton: string
name: string
value: string
labelRight: string
labelLeft: string
sliderWidth: number
sliderHeight: number
width: number
height: number
translate: any

Preview:

React Styled Toggle Switch Component

Download Details:

Author: guillaumemorin

Live Demo: View The Demo

Download Link: Download The Source Code

Official Website: https://github.com/guillaumemorin/react-styled-toggle

License: MIT

Credit: Source link

Previous Next
Close
Test Caption
Test Description goes like this