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

    194
  • Tweenly AI Recorder

    Tweenly AI Recorder

    109
  • Tweenly Chart KPI

    Tweenly Chart KPI

    73
  • Tweenly Hero Background

    Tweenly Hero Background

    57
  • Tweenly Chart Radial

    Tweenly Chart Radial

    42
  • Tweenly Image Arc

    Tweenly Image Arc

    37
  • Tweenly Curved Carousel

    Tweenly Curved Carousel

    37
  • Tweenly Slide Button

    Tweenly Slide Button

    15

More in Dashboards

View all
  • Fernly — Project Management Dashboard with Kanban

    Fernly — Project Management Dashboard with Kanban

    783
  • Analytics Dashboard

    Analytics Dashboard

    96
  • Creator Dashboard

    Creator Dashboard

    224
  • Corbel — Sales Analytics Dashboard

    Corbel — Sales Analytics Dashboard

    527
  • Insights Dashboard

    Insights Dashboard

    51
  • serf dashboard

    serf dashboard

    147
  • Dashboard with Collapsible Sidebar

    Dashboard with Collapsible Sidebar

    2.7K
  • Halden — CRM Dashboard with Sales Pipeline

    Halden — CRM Dashboard with Sales Pipeline

    76