aicanvas

Expanding Tabs

Navigation 124

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

    93
  • Runway Loader

    Runway Loader

    92
  • Blind Pull Toggle

    Blind Pull Toggle

    72
  • Magnetic Logo Cluster

    Magnetic Logo Cluster

    13
  • Search Field

    Search Field

  • Glass Search Bar

    Glass Search Bar

More in Navigation

View all
  • Sidebar

    Sidebar

    234
  • Navbar with Theme Toggle

    Navbar with Theme Toggle

    43
  • Sidebar

    Sidebar

    339
  • Tabs

    Tabs

    60
  • Numberless Pagination with Text

    Numberless Pagination with Text

    11
  • Oversized 404 Numeral

    Oversized 404 Numeral

    50
  • Footer

    Footer

    446
  • Pagination

    Pagination

    43