deepraj21

Glass Tab Bar

Navigation 14

About

A floating, iOS-style bottom tab bar with a liquid-glass selection bubble that slides smoothly between active tabs.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Glass Tab Bar to your project and fits it to your theme.

Code

How Glass Tab Bar is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import { GlassTabBar, GlassTabBarItem } from "@/components/ui/glass-tab-bar";
import { Home, Search, User, Settings } from "lucide-react";

export default function GlassTabBarDemo() {
  return (
    <div className="flex min-h-[420px] w-full items-center justify-center bg-background p-10 text-foreground">
      <GlassTabBar defaultValue="home">
        <GlassTabBarItem value="home" icon={<Home />} label="Home" />
        <GlassTabBarItem value="search" icon={<Search />} label="Search" />
        <GlassTabBarItem value="profile" icon={<User />} label="Profile" />
        <GlassTabBarItem
          value="settings"
          icon={<Settings />}
          label="Settings"
        />
      </GlassTabBar>
    </div>
  );
}

Dependencies

More by deepraj21

View all
  • Glass Sidebar

    Glass Sidebar

    35
  • Glass Message

    Glass Message

    27
  • Glass Date Picker

    Glass Date Picker

    16
  • Glass QR Code

    Glass QR Code

    8
  • Glass Input

    Glass Input

    8
  • Glass Notification

    Glass Notification

    8
  • Glass Switch

    Glass Switch

    8
  • Glass Dock

    Glass Dock

    8

More in Navigation

View all
  • Liquid Glass Expandable Sidebar

    Liquid Glass Expandable Sidebar

    76
  • Footer with Big Wordmark

    Footer with Big Wordmark

    40
  • Sidebar

    Sidebar

    392
  • Oversized 404 Numeral

    Oversized 404 Numeral

    78
  • Navbar with Theme Toggle

    Navbar with Theme Toggle

    67
  • NavBar

    NavBar

    2
  • Pagination

    Pagination

    109
  • Tabs like bookmark

    Tabs like bookmark

    82