Alok Srivastava

Dot Graph Card

Cards

About

A revenue card with an animated percentage counter and a dot-matrix bar chart whose dots pop in and show tooltips on hover, with daily/weekly/monthly tabs.

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

Code

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

Usage.tsx

import DotGraphCard from "@/components/ui/dot-graph-card";

export default function DotGraphCardDemo() {
  return (
    <div className="w-full h-screen">
      <DotGraphCard />
    </div>
  );
}

More by Alok Srivastava

View all
  • Glossy Slider Call Button

    Glossy Slider Call Button

    1
  • Expandable Book Search Palette

    Expandable Book Search Palette

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.2K
  • Stats cards with links

    Stats cards with links

    128
  • Interactive Tech Stack Bento Grid with Hover Effects

    Interactive Tech Stack Bento Grid with Hover Effects

    397
  • Statistics Card 2

    Statistics Card 2

    291
  • Card Studio

    Card Studio

    14
  • Statistics Card 10

    Statistics Card 10

    281
  • The Item one

    The Item one

    3
  • Card

    Card

    70