switch-style-default

PreviousNext
Docs
retrouiblock

Preview

Loading preview…
preview/components/switch-style-default.tsx
import { Switch } from "@/components/retroui/Switch";
import React from "react";

export default function SwitchStyleDefault() {
  return (
    <div className="flex items-center space-x-2">
      <Switch id="notification" />
      <label htmlFor="notification">Email Notifications</label>
    </div>
  );
}

Installation

npx shadcn@latest add @retroui/switch-style-default

Usage

import { SwitchStyleDefault } from "@/components/switch-style-default"
<SwitchStyleDefault />