Core

Composed Chart

A composed chart combines areas, bars, and lines in one surface so related metrics can be compared without switching chart types.

Example

Usage

Features

  • Mixes bar, line, and area series in one component.
  • Useful for comparing totals and trends together.
  • Shares the same theme palette as the other chart components.
  • Supports per-series type overrides.
  • Keeps the visual system consistent across dashboard views.

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/composed-chart.tsx
npx libravelui@latest add composed-chart

Anatomy

import { ComposedChart } from "@/components/ui/core/charts/composed-chart";
<ComposedChart
  data={data}
  dataKey="month"
  config={{
    revenue: { label: "Revenue", type: "bar" },
    profit: { label: "Profit", type: "line" },
    visitors: { label: "Visitors", type: "area" },
  }}
/>

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