Louis Studios

Traffic Bars

Cards

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

More by Louis Studios

View all
  • Warp Carousel

    Warp Carousel

    677
  • Peak Chart

    Peak Chart

    153
  • Dot Tiles

    Dot Tiles

    136
  • Chapter Player

    Chapter Player

    89
  • Glow Rocker

    Glow Rocker

    71
  • LED Badges

    LED Badges

    67
  • Chrome Arcs

    Chrome Arcs

    55
  • Lens Clock

    Lens Clock

    51

More in Cards

View all
  • Stats cards with links

    Stats cards with links

    94
  • Card

    Card

    72
  • Statistics Card 7

    Statistics Card 7

    319
  • Course Design Cards

    Course Design Cards

    1.2K
  • Statistics Card 2

    Statistics Card 2

    298
  • Interactive Tech Stack Bento Grid with Hover Effects

    Interactive Tech Stack Bento Grid with Hover Effects

    520
  • Testimonial

    Testimonial

    131
  • Card Studio

    Card Studio

    14