Rad UI is under active development and looking for contributors to shape the future of the library. If you'd like to contribute to Rad UI, please check out Getting Started

Switch is used to toggle between two states on and off. You can commonly used in settings panel, forms and any other place where a user needs to enable or disable feature.


import Switch from "@radui/ui/Switch"
         
const SwitchExample = () => (
    <div>
      <Switch />   
    </div>
)