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>
);
}
















