Kedhareswer Naidu

LED Dot Matrix Chart Card

Cards 72

About

LED dot matrix chart card: a revenue card whose chart is a board of LED dots, lighting each day's column from the bottom with a bright top dot, sweeping on in view while the total rolls up like an odometer. For dashboards and sales stats.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds LED Dot Matrix Chart Card to your project and fits it to your theme.

Code

How LED Dot Matrix Chart Card is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import LedMatrixSales from "@/components/ui/led-matrix-sales"

// Six weeks of a small shop's daily takings: soft Mondays, strong weekends,
// and a launch spike in week four.
const start = Date.UTC(2026, 8, 14)
const data = Array.from({ length: 42 }, (_, i) => {
  const day = new Date(start + i * 864e5)
  const dow = day.getUTCDay()
  const weekend = dow === 0 || dow === 6 ? 1.45 : dow === 1 ? 0.7 : 1
  const trend = 1 + i * 0.012
  const wobble = 0.85 + ((Math.sin(i * 12.9898) * 43758.5453) % 1 + 1) % 1 * 0.3
  const launch = i >= 22 && i <= 25 ? 1.9 - (i - 22) * 0.22 : 1
  return {
    label: day.toLocaleDateString("en-US", { month: "short", day: "numeric", timeZone: "UTC" }),
    value: Math.round(4200 * weekend * trend * wobble * launch),
  }
})

export default function Demo() {
  return (
    <div className="flex min-h-svh w-full items-center justify-center bg-background p-4 sm:p-10">
      <LedMatrixSales data={data} rows={11} title="Net sales" caption="Daily revenue · Sep 14 – Oct 25" delta={12.4} deltaLabel="vs previous 6 weeks" />
    </div>
  )
}

More by Kedhareswer Naidu

View all
  • Glassmorphism Folder Cards

    Glassmorphism Folder Cards

    5.2K
  • Halftone Wordmark Footer

    Halftone Wordmark Footer

    2.2K
  • GitHub Contribution Graph 3D Heatmap

    GitHub Contribution Graph 3D Heatmap

    2.1K
  • Morph Gallery

    Morph Gallery

    1.9K
  • Food Menu Scroll Carousel

    Food Menu Scroll Carousel

    1.6K
  • Animated Features Bento with Live Diagrams

    Animated Features Bento with Live Diagrams

    1.3K
  • Hanging Polaroid Image Carousel

    Hanging Polaroid Image Carousel

    1.2K
  • Flipping Website Screenshot Deck

    Flipping Website Screenshot Deck

    891

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