Skip to content

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

License

Notifications You must be signed in to change notification settings

enjoylife/react-input-toggle

Repository files navigation

react-input-toggle

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

Travis

Codecov

What problem does it solve you?

You get an interesting selection of keyboard and screen reader accessible buttons. I would say this little set of toggles is more creative than practical. But in any case, enjoy.

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published