Louis Studios

Traffic Bars

Cards 1

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

    1.1K
  • Peak Chart

    Peak Chart

    873
  • Dot Tiles

    Dot Tiles

    168
  • Glow Rocker

    Glow Rocker

    156
  • Cover Flow

    Cover Flow

    126
  • Chapter Player

    Chapter Player

    124
  • Chrome Arcs

    Chrome Arcs

    124
  • Market Card

    Market Card

    106

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.3K
  • Statistics Card 7

    Statistics Card 7

    327
  • Statistics Card 2

    Statistics Card 2

    305
  • Interactive Tech Stack Bento Grid with Hover Effects

    Interactive Tech Stack Bento Grid with Hover Effects

    625
  • Card Studio

    Card Studio

    5
  • The Item one

    The Item one

    4
  • Weather Card

    Weather Card

    65
  • Card

    Card

    9