Your Company

Supercharge your web applications

Anim aute id magna aliqua ad ad non deserunt sunt. Qui irure qui lorem cupidatat commodo. Elit sunt amet fugiat veniam occaecat fugiat aliqua.

NotificationSetting.jsx
App.jsx
import { useState } from 'react' import { Switch } from '@headlessui/react' function Example() { const [enabled, setEnabled] = useState(true) return ( <form action="/notification-settings" method="post"> <Switch checked={enabled} onChange={setEnabled} name="notifications"> {/* ... */} </Switch> <button>Submit</button> </form> ) }