Pedro

Liquid Glass Pricing

Pricing 15

About

A responsive three-tier SaaS pricing section featuring an interactive Liquid Glass billing toggle with velocity-reactive spring physics, crisp magnified lens cutout, directional animated price transitions, dark mode support, and full keyboard accessibility.

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

Code

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

Usage.tsx

import React, { useState } from "react";
import {
  LiquidGlassPricing,
  BillingCycle,
  PricingPlan,
} from "@/components/ui/liquid-glass-pricing";

export function DemoOne() {
  const [selectedNotice, setSelectedNotice] = useState<string | null>(null);

  const handleSelectPlan = (plan: PricingPlan, cycle: BillingCycle) => {
    const label = cycle === "annual" ? "Anual" : "Mensal";
    setSelectedNotice(`Plano ${plan.name} (${label}) selecionado`);
  };

  return (
    <div className="relative w-full">
      <LiquidGlassPricing onSelectPlan={handleSelectPlan} />

      {selectedNotice && (
        <div
          role="status"
          aria-live="polite"
          className="fixed bottom-5 left-1/2 z-50 -translate-x-1/2 rounded-full border border-zinc-200/80 bg-zinc-950/90 px-4 py-2 text-xs font-medium text-white shadow-lg backdrop-blur-md dark:border-white/15 dark:bg-white/90 dark:text-zinc-950"
        >
          {selectedNotice}
        </div>
      )}
    </div>
  );
}

export default DemoOne;

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 Toggle Switch

    Liquid Glass Toggle Switch

    11
  • AI Response Stream

    AI Response Stream

    7
  • Edge Cluster Status Card

    Edge Cluster Status Card

    7

More in Pricing

View all
  • Executive Pricing Plan

    Executive Pricing Plan

    20
  • Pricing Section

    Pricing Section

    733
  • Pricing Section 1

    Pricing Section 1

    109
  • Single Pricing Card

    Single Pricing Card

    829
  • Review Stack Pricing

    Review Stack Pricing

    11
  • Toggleable Add-on Pricing

    Toggleable Add-on Pricing

    229
  • Toggle Pricing Cards

    Toggle Pricing Cards

    112
  • Pricing Card

    Pricing Card

    409