Pedro

Liquid Glass Toggle Switch

Forms

About

An iOS-inspired Liquid Glass toggle switch with a white pill thumb that turns completely crystal-clear when pressed or dragged, paired with a clean Dark Mode label.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Liquid Glass Toggle Switch to your project and fits it to your theme.

Code

How Liquid Glass Toggle Switch is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { LiquidGlassSwitch } from "@/components/ui/liquid-glass-toggle-switch";

export default function Demo() {
  return (
    <LiquidGlassSwitch
      label="Dark Mode"
      description="Switch to dark interface"
    />
  );
}

More by Pedro

View all
  • Edge Cluster Status Card

    Edge Cluster Status Card

  • Command Search Input

    Command Search Input

More in Forms

View all
  • Premium Auth

    Premium Auth

    577
  • Login 1

    Login 1

    67
  • Contact Card

    Contact Card

    1.1K
  • Form

    Form

    18
  • Login Card

    Login Card

    36
  • Change Password Form

    Change Password Form

    11
  • Login 2

    Login 2

    15
  • Form

    Form

    3