Cnippet

Segmented Control Tabs

Navigation 36

About

A compact segmented-control style tab switcher with icons that toggles between daily, weekly, monthly and yearly stat cards.

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

Code

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

Usage.tsx

import Pattern from "@/components/ui/segmented-control-tabs";

export default function Default() {
  return (
    <div className="flex min-h-svh w-full items-center justify-center p-10">
      <Pattern />
    </div>
  );
}

Dependencies

More by Cnippet

View all
  • Team

    Team

    1.3K
  • Davincho Hero-1

    Davincho Hero-1

    709
  • Aero Hero-3

    Aero Hero-3

    618
  • Random Letter Swap Navigation

    Random Letter Swap Navigation

    560
  • Features

    Features

    532
  • Services with Animated Hover Modal

    Services with Animated Hover Modal

    486
  • Blogs

    Blogs

    404
  • Aero Hero-1

    Aero Hero-1

    378

More in Navigation

View all
  • Liquid Glass Expandable Sidebar

    Liquid Glass Expandable Sidebar

    76
  • Footer with Big Wordmark

    Footer with Big Wordmark

    40
  • Sidebar

    Sidebar

    392
  • Oversized 404 Numeral

    Oversized 404 Numeral

    78
  • Navbar with Theme Toggle

    Navbar with Theme Toggle

    67
  • NavBar

    NavBar

    2
  • Pagination

    Pagination

    109
  • Tabs like bookmark

    Tabs like bookmark

    82