About
A traffic stat card whose stacked bars morph when you switch Day and Week, digits blur in one by one, and a lens glides across the bars showing a tooltip. More like this, plus a designer your coding agent can use, at studios.lou15.com/?ref=21st
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Traffic Bars to your project and fits it to your theme.
Code
How Traffic Bars is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import * as React from "react";
import { TrafficBars } from "@/components/ui/traffic-bars";
/** A traffic card: switch Day and Week and the bars regroup, then glide across them to read each one. */
export default function TrafficBarsDemo() {
return (
<main className="relative h-screen min-h-[340px] w-full overflow-hidden" style={{ backgroundColor: "#ebebed" }}>
<TrafficBars style={{ width: "100%", height: "100%" }} />
</main>
);
}
















