Popularity
1.8
Stable
Activity
0.0
Stable
111
29
20

Monthly Downloads: 0
Programming language: JavaScript
License: MIT License
Tags: UI Components     Toggle     React     React-component     Switch    

react-ios-switch alternatives and similar libraries

Based on the "Toggle" category

Do you think we are missing an alternative of react-ios-switch or a related project?

Add another 'Toggle' Library

README

react-ios-switch

Demo

CodePen

Features

  • Drag or click to toggle
  • Works with labels

Usage

import Switch from 'react-ios-switch';

// Simple usage
<Switch
  checked={checked}
  onChange={checked => {}}
/>

// All props (defaults shown)
<Switch
  checked={undefined}
  className={undefined}
  disabled={undefined}
  handleColor="white"
  name={undefined}
  offColor="white"
  onChange={() => {}}
  onColor="rgb(76, 217, 100)"
  pendingOffColor={undefined}
  pendingOnColor={undefined}
  readOnly={undefined}
  style={undefined}
/>

Development

# Install packages
yarn

# Start server
yarn start

# Visit http://localhost:8080

Inspirations