Pedro

Liquid Glass Toggle Switch

Forms 11

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
  • Liquid Glass Tab Bar

    Liquid Glass Tab Bar

    155
  • Liquid Glass Theme Toggle

    Liquid Glass Theme Toggle

    50
  • Liquid Glass Button

    Liquid Glass Button

    23
  • 3D Flashlight Portfolio

    3D Flashlight Portfolio

    19
  • Liquid Glass Viewport Toggle

    Liquid Glass Viewport Toggle

    18
  • Liquid Glass Pricing

    Liquid Glass Pricing

    15
  • AI Response Stream

    AI Response Stream

    7
  • Edge Cluster Status Card

    Edge Cluster Status Card

    7

More in Forms

View all
  • Form

    Form

    7
  • Login 2

    Login 2

    16
  • Contact Form

    Contact Form

    33
  • Contact Card

    Contact Card

    1.1K
  • Book A Demo 1

    Book A Demo 1

    95
  • Premium Auth

    Premium Auth

    613
  • Onboarding Stepper

    Onboarding Stepper

    13
  • Authentication Card

    Authentication Card

    52