nikolas-sapa

Tabs Carriage

Navigation

About

A tab navigation component whose active-tab underline moves like a typewriter carriage, gliding forward with spring physics and snapping back with a bounce on backward moves.

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

Code

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

Usage.tsx

import CarriageReturn from "@/components/ui/tabs-carriage";

export default function TabsCarriageDemo() {
  return (
    <div className="w-full max-w-md p-8">
      <CarriageReturn
        tabs={[
          {
            id: "overview",
            label: "Overview",
            content: (
              <p>
                A quick summary of the project, its goals, and current status at
                a glance.
              </p>
            ),
          },
          {
            id: "activity",
            label: "Activity",
            content: (
              <p>
                Recent changes, comments, and updates from your team appear here
                in chronological order.
              </p>
            ),
          },
          {
            id: "settings",
            label: "Settings",
            content: (
              <p>
                Configure preferences, notifications, and permissions for this
                workspace.
              </p>
            ),
          },
        ]}
      />
    </div>
  );
}

More by nikolas-sapa

View all
  • Dye Whorl

    Dye Whorl

    138
  • Countdown Vapor Digits

    Countdown Vapor Digits

    122
  • Hero Burin Hatch

    Hero Burin Hatch

    62
  • Background ASCII Wake

    Background ASCII Wake

    55
  • Hero Text Ring Funnel

    Hero Text Ring Funnel

    48
  • Toast Gravity Stack

    Toast Gravity Stack

    46
  • Hero ASCII Schlieren

    Hero ASCII Schlieren

    45
  • Hero ASCII Reaction Front

    Hero ASCII Reaction Front

    41

More in Navigation

View all
  • Sidebar

    Sidebar

    235
  • 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