@atis/react-toggle

An elegant, accessible toggle component for React. Also a glorified checkbox.

Usage no npm install needed!

<script type="module">
  import atisReactToggle from 'https://cdn.skypack.dev/@atis/react-toggle';
</script>

README

An elegant, accessible toggle component for React. Also a glorified checkbox.

See usage and examples.

Installation

npm install react-toggle

Include the component's CSS.

Development

npm install
npm run dev

index.es6.js transpiles to index.js.

Build

npm run build

License

MIT