Pedro

Liquid Glass Pricing

Pricing 7

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

    33
  • Liquid Glass Tab Bar

    Liquid Glass Tab Bar

    31
  • Liquid Glass Viewport Toggle

    Liquid Glass Viewport Toggle

    13
  • Liquid Glass Toggle Switch

    Liquid Glass Toggle Switch

    7
  • Edge Cluster Status Card

    Edge Cluster Status Card

    7
  • Liquid Glass Button

    Liquid Glass Button

    5
  • Command Search Input

    Command Search Input

    4
  • Liquid Glass Checkout

    Liquid Glass Checkout

More in Pricing

View all
  • Pricing Section

    Pricing Section

    715
  • Toggle Pricing Cards

    Toggle Pricing Cards

    101
  • Pricing Card

    Pricing Card

    582
  • pricing section

    pricing section

    183
  • Pricing Section

    Pricing Section

    216
  • Review Stack Pricing

    Review Stack Pricing

    6
  • Single Plan Pricing Card

    Single Plan Pricing Card

    29
  • Toggleable Add-on Pricing

    Toggleable Add-on Pricing

    211