tetra-ui Logotetra ui

Switch

A control that allows users to toggle between checked and unchecked states.

switch

Installation

npx shadcn@latest add @tetra-ui/switch

Usage

import { Switch } from "@/components/ui/switch";
<Switch />

On this page