Switch
Import Switch from @dalvan-ui/react. Give it a label and pass size or color to change its appearance.
import "@dalvan-ui/css";
import { Switch } from "@dalvan-ui/react";
export function NotificationSetting() {
return (
<label>
<Switch name="notifications" defaultChecked />
Email notifications
</label>
);
}