Saaj UI

Switch

A toggle control that allows users to switch between two states.

Installation

npx saaj add switch

Usage

import { Switch } from '@/components/ui/switch';
 
export function SwitchDemo() {
  return (
    <Switch />
  );
}

On this page