deepraj21

Glass Tab Bar

Navigation

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 QR Code

    Glass QR Code

    1
  • Glass Message

    Glass Message

    1
  • Glass Sidebar

    Glass Sidebar

    1
  • Glass Tweet Card

    Glass Tweet Card

  • Glass Scroll Stack

    Glass Scroll Stack

  • Glass Accordion

    Glass Accordion

  • Glass OTP Input

    Glass OTP Input

  • Glass Terminal

    Glass Terminal

More in Navigation

View all
  • Sidebar

    Sidebar

    258
  • Oversized 404 Numeral

    Oversized 404 Numeral

    54
  • Tabs

    Tabs

    62
  • Navbar with Theme Toggle

    Navbar with Theme Toggle

    44
  • Footer 2

    Footer 2

    206
  • Footer

    Footer

    80
  • Breadrcrumb

    Breadrcrumb

    7
  • NavBar

    NavBar