aicanvas

Expanding Tabs

Navigation 137

About

A monochrome pill-shaped tab bar where the active tab morphs into a labeled pill while inactive tabs collapse into icon-only circles, useful for a mail client, dashboard, or settings switcher.

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

Code

How Expanding Tabs is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import ExpandingTabs from "@/components/ui/expanding-tabs";

export default function ExpandingTabsDemo() {
  return <ExpandingTabs />;
}

Dependencies

More by aicanvas

View all
  • Stack Tower

    Stack Tower

    97
  • Runway Loader

    Runway Loader

    96
  • Blind Pull Toggle

    Blind Pull Toggle

    76
  • Magnetic Logo Cluster

    Magnetic Logo Cluster

    14
  • Search Field

    Search Field

  • Glass Search Bar

    Glass Search Bar

More in Navigation

View all
  • Sidebar

    Sidebar

    301
  • Progress Bar Stepper

    Progress Bar Stepper

    45
  • Navbar

    Navbar

    1
  • Tabs

    Tabs

    16
  • Stacked Circular Footer

    Stacked Circular Footer

    429
  • Breadrcrumb

    Breadrcrumb

    23
  • NavBar

    NavBar

  • Navbar with Theme Toggle

    Navbar with Theme Toggle

    46