The glass in our tab bar is a backdrop blur, a saturation boost, a thin light border and an inner highlight. Here are the exact values as Tailwind classes.
These values come from the tab bar's CSS: blur(16px) saturate(1.9) on a slightly white background, with a 32 px radius.
This isn't Apple's refraction. Real lens bending needs SVG displacement filters, which not every browser applies to backdrops. Blur and saturate work in Safari, Chrome and Firefox.
Glass needs something colourful behind it. On a flat background it reads as grey.
Backdrop blur costs GPU time. The tab bar switches the blur off while its lens and player states are open.
liquid-glass-react, and when a tab bar is the real goal
liquid-glass-react is a free npm package under the MIT license. It wraps any children in a glass layer that bends what sits behind its edges. On October 25, 2026 npm listed version 1.1.1, published June 11, 2025, with 21,122 downloads in the week of October 16 to 22. Its GitHub repo, rdev/liquid-glass-react, has about 6,500 stars, isn't archived, and was last pushed on June 13, 2025.
For a glass card or a glass button it's a good, free choice. The props cover displacementScale, blurAmount, saturation, aberrationIntensity, elasticity and cornerRadius, plus four refraction modes: standard, polar, prominent and shader.
Read its browser note before you ship. The README says: "Safari and Firefox only partially support the effect (displacement will not be visible)". In the 1.1.1 source the bending is an SVG displacement filter inside backdrop-filter: url(), which only Chromium renders today, and the package skips that filter when it detects Firefox. We didn't open it in Safari or Firefox for this section.
It lists react and react-dom >=19 as peer dependencies. In an empty project with react@18, npm install --dry-run stopped with ERESOLVE on October 25, 2026. Two open issues ask about React 18: #25 "React 18" and #30 "useRef null error in React 18", neither with a reply when we read them. The package has no "use client" line, so in the App Router import it from a file that starts with one, like GlassCard.tsx below.
Liquid Glass Tab Bar is for a narrower job: a phone tab bar with the motion already done. It has five tabs and a lens that travels between them like a drop and magnifies the selected icon. On scroll the bar shrinks to one bubble with the mini player beside it, and tapping the track bursts the lens into a full-screen player. It runs on React 18 and 19.
Its glass is the blur and saturate recipe at the top of this page. The lens is a scaled copy of the bar with a coloured drop-shadow edge, and there is no SVG filter anywhere, so the lens doesn't depend on Chromium. We checked that by reading its CSS, not on a real iPhone.
Pick liquid-glass-react when you want true refraction on your own elements and most visitors use Chrome or Edge. Pick the tab bar when the bar itself is what you're building.
Type-checked on October 25, 2026: GlassCard.tsx below against liquid-glass-react 1.1.1, react 19.3.1, @types/react 19.3.0 and TypeScript 7.0.2. That was a type-check only; we didn't render it in a browser for this section.
"use client";
import LiquidGlass from "liquid-glass-react";
// liquid-glass-react 1.1.1 needs React 19. The bending shows in Chromium;
// its README says Safari and Firefox only get part of the effect.
export function GlassCard({ children }: { children: React.ReactNode }) {
return (
<LiquidGlass displacementScale={64} blurAmount={0.1} saturation={130} cornerRadius={24} padding="24px">
{children}
</LiquidGlass>
);
}
Install
Copy from the zipPut react/src/components + react/src/data into src/, then npm i framer-motion.
Or ask your AIPaste PROMPT.md into Cursor, Lovable or v0.
Props
backdrop-blur-[16px]
the frost
backdrop-saturate-[1.9]
makes colours behind it richer
bg-white/10 + border-white/15
the pane
inset shadow
the top edge highlight
How qodesign compares
qodesign vs Hover.devHover.dev is best for: animated website sections you copy and paste.
qodesign vs Cult UICult UI is best for: free animated shadcn components and device mockups.
All comparisons, with prices read on each library's own site.
Yes. Safari, Chrome and Firefox all support backdrop-filter.
Is the GlassBar snippet free to copy?
Yes, it's a few Tailwind classes. The animated tab bar with the drop and the player is the paid piece.
Can Cursor or v0 add it for me?
Yes. Each download has a PROMPT.md. Paste it into Cursor, Lovable, v0 or Claude Code and it fits the piece into your app.
Can I use it in client work?
Yes, in personal and client projects. You can't resell the code itself as a kit.
Does liquid-glass-react work in Safari and Firefox?
Partly. Its README says: "Safari and Firefox only partially support the effect (displacement will not be visible)". The edge bending needs a Chromium browser.
Does liquid-glass-react work with React 18?
Not by its own peer range. Version 1.1.1 lists react >=19, and npm install next to React 18 stops with ERESOLVE. Liquid Glass Tab Bar runs on React 18 and 19.