mirukullacode

Animated Bar Chart

Dashboards 67

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

    170
  • Tweenly AI Recorder

    Tweenly AI Recorder

    100
  • Tweenly Chart KPI

    Tweenly Chart KPI

    72
  • Tweenly Hero Background

    Tweenly Hero Background

    51
  • Tweenly Chart Radial

    Tweenly Chart Radial

    38
  • Tweenly Curved Carousel

    Tweenly Curved Carousel

    36
  • Tweenly Image Arc

    Tweenly Image Arc

    35
  • Tweenly Slide Button

    Tweenly Slide Button

    14

More in Dashboards

View all
  • Creator Dashboard

    Creator Dashboard

    168
  • serf dashboard

    serf dashboard

    113
  • Dashboard with Collapsible Sidebar

    Dashboard with Collapsible Sidebar

    2.7K
  • Glass Dashboard

    Glass Dashboard

    1.4K
  • Corbel Sales Dashboard

    Corbel Sales Dashboard

    19
  • Glass Smart Home Dashboard

    Glass Smart Home Dashboard

    61
  • Adjustable Glass Dashboard

    Adjustable Glass Dashboard

    1.3K
  • Halden Sales CRM

    Halden Sales CRM

    3