aicanvas

Expanding Tabs

Navigation 195

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
  • Runway Loader

    Runway Loader

    119
  • Stack Tower

    Stack Tower

    111
  • Blind Pull Toggle

    Blind Pull Toggle

    105
  • Magnetic Logo Cluster

    Magnetic Logo Cluster

    23
  • Search Field

    Search Field

  • Glass Search Bar

    Glass Search Bar

More in Navigation

View all
  • Footer with Big Wordmark

    Footer with Big Wordmark

    169
  • Liquid Glass Expandable Sidebar

    Liquid Glass Expandable Sidebar

    442
  • Meniscus — Liquid Bottom Navigation Bar

    Meniscus — Liquid Bottom Navigation Bar

    33
  • Sidebar

    Sidebar

    444
  • Tabs

    Tabs

    38
  • Pagination

    Pagination

    121
  • Sidebar

    Sidebar

    367
  • Stacked Circular Footer

    Stacked Circular Footer

    470