Pedro

Liquid Glass Pricing

Pricing

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

    Liquid Glass Theme Toggle

    24
  • Liquid Glass Viewport Toggle

    Liquid Glass Viewport Toggle

    9
  • Liquid Glass Tab Bar

    Liquid Glass Tab Bar

    8
  • Liquid Glass Toggle Switch

    Liquid Glass Toggle Switch

    6
  • Edge Cluster Status Card

    Edge Cluster Status Card

    5
  • Command Search Input

    Command Search Input

    4
  • Liquid Glass Button

    Liquid Glass Button

    2

More in Pricing

View all
  • Pricing Section

    Pricing Section

    713
  • Toggle Pricing Cards

    Toggle Pricing Cards

    100
  • pricing section

    pricing section

    183
  • Toggleable Add-on Pricing

    Toggleable Add-on Pricing

    211
  • Pricing Section

    Pricing Section

    214
  • Pricing Card

    Pricing Card

    395
  • Colorful-Pricing

    Colorful-Pricing

    97
  • Pricing Cards

    Pricing Cards

    33