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;














