retroui

Area Chart

Dashboards 16

About

A gradient-filled area chart for visualizing trends over time or categories, built on Recharts with a retro-styled grid, axes, and tooltip.

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

Code

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

Usage.tsx

"use client";

import { AreaChart } from "@/components/ui/area-chart";

const data = [
  { name: "Jan", orders: 12 },
  { name: "Feb", orders: 32 },
  { name: "Mar", orders: 19 },
  { name: "Apr", orders: 35 },
  { name: "May", orders: 40 },
  { name: "Jun", orders: 25 },
];

export default function ChartStyleDefault() {
  return <AreaChart data={data} index="name" categories={["orders"]} />;
}

Dependencies

More by retroui

View all
  • Menu

    Menu

    33
  • Table

    Table

    17
  • Popover

    Popover

    15
  • Bar Chart

    Bar Chart

    4
  • Line Chart

    Line Chart

  • Badge

    Badge

  • Tooltip

    Tooltip

  • Toggle Group

    Toggle Group

More in Dashboards

View all
  • Fernly — Project Management Dashboard with Kanban

    Fernly — Project Management Dashboard with Kanban

    754
  • Analytics Dashboard

    Analytics Dashboard

    82
  • Creator Dashboard

    Creator Dashboard

    216
  • Insights Dashboard

    Insights Dashboard

    44
  • Corbel — Sales Analytics Dashboard

    Corbel — Sales Analytics Dashboard

    458
  • serf dashboard

    serf dashboard

    144
  • Dashboard with Collapsible Sidebar

    Dashboard with Collapsible Sidebar

    2.7K
  • Halden — CRM Dashboard with Sales Pipeline

    Halden — CRM Dashboard with Sales Pipeline

    66