mohammed-saif-ibrahim

Chart

Dashboards

About

A token-themed line, bar, and area chart for dashboards built on recharts, with a design-system-driven color palette and tooltip.

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

Code

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

Usage.tsx

import { BarChart } from "@/components/ui/chart";

export default function ChartBarDemo() {
  return (
    <div className="w-full max-w-2xl rounded-lg border border-border bg-background p-6">
      <BarChart
        data={[
          { month: "Jan", revenue: 4200 },
          { month: "Feb", revenue: 3800 },
          { month: "Mar", revenue: 5200 },
        ]}
        xKey="month"
        series={[{ key: "revenue" }]}
      />
    </div>
  );
}

Dependencies

More by mohammed-saif-ibrahim

View all
  • Avatar

    Avatar

  • Select

    Select

  • Filter Builder

    Filter Builder

  • File Upload

    File Upload

  • Command Palette

    Command Palette

  • Checkbox

    Checkbox

  • Activity Feed

    Activity Feed

More in Dashboards

View all
  • serf dashboard

    serf dashboard

    28
  • Dashboard with Collapsible Sidebar

    Dashboard with Collapsible Sidebar

    2.6K
  • Glass Dashboard

    Glass Dashboard

    597
  • Adjustable Glass Dashboard

    Adjustable Glass Dashboard

    1.1K
  • Dashboard Shell

    Dashboard Shell

    192
  • Stat Card

    Stat Card

    66
  • App Dashboard Layout

    App Dashboard Layout

    535
  • Sidebar

    Sidebar

    405