Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@nextui-org/switch

nextui-org346.1kMITdeprecated2.2.8TypeScript support: included

This package has been deprecated. Please use @heroui/switch instead.

A switch is similar to a checkbox, but represents on/off values as opposed to selection.

switch

readme

@nextui-org/switch

The Switch component is used as an alternative between checked and not checked states.

Please refer to the documentation for more information.

Installation

yarn add @nextui-org/switch
# or
npm i @nextui-org/switch

Contribution

Yes please! See the contributing guidelines for details.

License

This project is licensed under the terms of the MIT license.