deepraj21

Glass Tab Bar

Navigation 1

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

    12
  • Glass Message

    Glass Message

    10
  • Glass Date Picker

    Glass Date Picker

    8
  • Glass QR Code

    Glass QR Code

    6
  • Glass Select

    Glass Select

    5
  • Glass Notification

    Glass Notification

    4
  • Glass Knob

    Glass Knob

    4
  • Glass Terminal

    Glass Terminal

    3

More in Navigation

View all
  • Sidebar

    Sidebar

    296
  • Progress Bar Stepper

    Progress Bar Stepper

    45
  • Navbar

    Navbar

    1
  • Tabs

    Tabs

    16
  • Breadcrumb

    Breadcrumb

    103
  • Capsule Tabs

    Capsule Tabs

    21
  • Pagination

    Pagination

    27
  • Pagination with Ellipsis

    Pagination with Ellipsis

    18