aicanvas

Expanding Tabs

Navigation 145

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

    100
  • Runway Loader

    Runway Loader

    97
  • Blind Pull Toggle

    Blind Pull Toggle

    80
  • Magnetic Logo Cluster

    Magnetic Logo Cluster

    15
  • Search Field

    Search Field

  • Glass Search Bar

    Glass Search Bar

More in Navigation

View all
  • Sidebar

    Sidebar

    328
  • Oversized 404 Numeral

    Oversized 404 Numeral

    65
  • Footer 2

    Footer 2

    217
  • Navbar with Theme Toggle

    Navbar with Theme Toggle

    52
  • Stacked Circular Footer

    Stacked Circular Footer

    439
  • Navbar

    Navbar

    4
  • Tabs

    Tabs

    33
  • Pagination with Icon and Label

    Pagination with Icon and Label

    20