Liquid Glass Tab Bar
An iOS 26-style floating glass tab bar: a refractive lens slides between tabs and stretches with distance like liquid, icons pop on select, plus a floating accessory button.
Try it: Tap tabs or use ← → Home End.
Brings its own background. Sits on a colourful wallpaper so the glass has something to refract; pass className to change it.
Installation
Install with the shadcn CLI:
npx shadcn@latest add https://www.framekitui.live/r/liquid-glass-tab-bar.jsonOr, with the @framekit namespace registered: npx shadcn@latest add @framekit/liquid-glass-tab-bar. You can also copy the source into components/ui/liquid-glass-tab-bar.tsx (view on GitHub).
Usage
import { LiquidGlassTabBar } from '@/components/ui/liquid-glass-tab-bar'Props
| Prop | Type | Default | Notes |
|---|---|---|---|
tabs | GlassTab[] | DEFAULT_GLASS_TABS | { id, label, icon } |
value / defaultValue / onValueChange | string | 'home' | Controlled or uncontrolled. |
showAction | boolean | true | Floating accessory button. |
Dependencies
motionlucide-react
Related Motion Showcase components
- Gradient Mesh Hero
A hero over four soft colour fields that drift on slow offset orbits and lean toward the pointer, with fine grain, a glass eyebrow pill and a blur-staggered headline.
- App Store Expand Card
Story cards that grow into a full detail sheet with a shared-layout spring: art, headline and surface morph from the card, the body rises in behind. Esc or close collapses it and returns focus.
- Morph Button Modal
A pill button that physically becomes its dialog: the surface expands on a shared-layout spring, the label blurs into a form, and submit shrinks it back into a success pill. Focus trapped and…
- Scroll Product Reveal
An Apple-style pinned product story: scroll scrubs a CSS 3D device through rotation, screen glow and an exploded-layer view while chapter copy cross-fades with a blur. Scrolls inside its own…
- Kinetic Stats Band
A band of big tabular numbers that count up on an expo curve when scrolled into view, with motion blur on the fast part and sparklines that draw themselves.
- Perspective Tunnel Carousel
A row of 3:4 cards riding a corridor in real CSS 3D: tiny and flat on the back wall at the vanishing point, growing huge and angled along the side walls as they leave past the edges. The row drifts…