Laakarihinta / react-input-toggle

A collection of aesthetically pleasing, accessible and customizable toggles build with React

Home Page:http://enjoylife.github.io/react-input-toggle/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-input-toggle

A collection of aesthetically pleasing, accessible and customizable toggles build with React.

Travis

Codecov

Installation

npm install react-input-toggle

Usage

import  Toggle  from 'react-input-toggle';
import 'react-input-toggle/dist/react-input-toggle.css';

export default class App extends Component {
  render () {
    return (
      <div>
        <h1>Hello, world.</h1>
        <Toggle label={'Test Label'} effect={'sierra'} labelPosition={'left'} />
      </div>
    );
  }
}

License

MIT

About

A collection of aesthetically pleasing, accessible and customizable toggles build with React

http://enjoylife.github.io/react-input-toggle/

License:MIT License


Languages

Language:CSS 75.6%Language:JavaScript 16.2%Language:HTML 8.2%