Toggle
A two-state button that can be either on or off.
pnpm dlx shadcn add garrettjavalia/shadcn-ariax/toggle
Toggle demo
"use client";
import * as stylex from "@stylexjs/stylex";
Toggle outline
"use client";
import * as stylex from "@stylexjs/stylex";
Toggle text
"use client";
import { ItalicIcon } from "lucide-react";
Toggle sizes
"use client";
import * as stylex from "@stylexjs/stylex";
Toggle disabled
"use client";
import * as stylex from "@stylexjs/stylex";
Toggle rtl
"use client";
import * as stylex from "@stylexjs/stylex";