mirukullacode

Animated Bar Chart

Dashboards 66

About

A grouped or stacked SVG bar chart (vertical or horizontal) with springy entrance animation, textured series fills, hover highlighting, tooltip, and a toggleable legend.

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

Code

How Animated Bar Chart is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { ChartBar } from "@/components/ui/chart-bar";

const data = [
  { month: "Jan", desktop: 186, mobile: 80 },
  { month: "Feb", desktop: 305, mobile: 200 },
  { month: "Mar", desktop: 237, mobile: 120 },
  { month: "Apr", desktop: 73, mobile: 190 },
  { month: "May", desktop: 209, mobile: 130 },
  { month: "Jun", desktop: 214, mobile: 140 },
];

export default function Demo() {
  return (
    <ChartBar
      data={data}
      showLegend
      title="Visitors"
      description="January – June 2025"
      index="month"
      series={[
        { key: "desktop", label: "Desktop" },
        { key: "mobile", label: "Mobile" },
      ]}
    />
  );
}

Dependencies

More by mirukullacode

View all
  • Chart Line

    Chart Line

    162
  • Tweenly AI Recorder

    Tweenly AI Recorder

    97
  • Tweenly Chart KPI

    Tweenly Chart KPI

    69
  • Tweenly Hero Background

    Tweenly Hero Background

    49
  • Tweenly Chart Radial

    Tweenly Chart Radial

    38
  • Tweenly Image Arc

    Tweenly Image Arc

    34
  • Tweenly Curved Carousel

    Tweenly Curved Carousel

    34
  • Tweenly Slide Button

    Tweenly Slide Button

    13

More in Dashboards

View all
  • Creator Dashboard

    Creator Dashboard

    94
  • serf dashboard

    serf dashboard

    83
  • Dashboard with Collapsible Sidebar

    Dashboard with Collapsible Sidebar

    2.6K
  • Glass Dashboard

    Glass Dashboard

    1.1K
  • Adjustable Glass Dashboard

    Adjustable Glass Dashboard

    1.2K
  • App Dashboard Layout

    App Dashboard Layout

    572
  • Sidebar

    Sidebar

    422
  • Stat Card

    Stat Card

    78