mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
* feat(switch): add @nextui-org/use-safe-layout-effect * chore(deps): add @nextui-org/use-safe-layout-effect * fix(switch): react-hook-form uncontrolled switch component * fix(switch): react-hook-form uncontrolled switch component * feat(switch): add rect-hook-form in dev dep * feat(switch): add WithReactHookFormTemplate
@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.