Core

Area Chart

An area chart displays quantitative data over a continuous axis with filled regions that highlight trends and changes over time.

Example

Usage

Features

  • Trend-friendly and ideal for time-based data.
  • Built on Recharts with LibravelUI surface styling.
  • Uses the default chart palette from theme tokens.
  • Supports multiple series, custom axes, and custom tooltip props.
  • Keeps the API compact while still staying flexible.

Installation

Copy the shared chart utilities and the chart component you need into your project.

components/ui/core/charts/chart-shell.tsx
components/ui/core/charts/chart-tooltip.tsx
components/ui/core/charts/area-chart.tsx
npx libravelui@latest add area-chart

Anatomy

import { AreaChart } from "@/components/ui/core/charts/area-chart";
<AreaChart
  data={data}
  dataKey="month"
  config={{
    revenue: { label: "Revenue" },
    profit: { label: "Profit" },
  }}
/>

Props

Loading types…

Accessible React component library to copy, customize, and own your UI. Built for Next.js, Vite, and Laravel.

Crafted by dervyon. Peep the Source Code on GitHub.

Hosted on Vercel. The source code's got the MIT license.

2025 - 2026 · LibravelUI

Starter Kits

Templates

    Coming Soon

Labs