Components
- Activity Heatmap
- Activity Rings
- Bar Chart
- Bar List
- Command Palette
- Composed Chart
- Corner Frame
- Data Table
- Delta Badge
- Distribution Bar
- Donut Chart
- Dot Plot
- Funnel Chart
- Heatmap Chart
- KPI Card
- Metric List
- Metric Value
- Period Tabs
- Radar Chart
- Radial Gauge
- Sankey Chart
- Scatter Chart
- Segmented Meter
- Sparkline
- Tick Bar
- Timeline
- Trend Chart
Blocks
- Activity Rings Card
- Allocation Card
- Balance Chart Card
- Breakdown Card
- Commerce KPI Row
- Contributions Card
- Data Table Card
- Distribution Card
- Dot Plot Card
- Dual Metric Card
- Funnel Chart Card
- Goal Chart Card
- Heatmap Chart Card
- Insight Card
- KPI Row Card
- Metric Tabs Chart Card
- Payment Summary Card
- Period Bar Chart Card
- Progress Card
- Revenue Ring Card
- Ring KPI Card
- Score Gauge Card
- Stage Bars Card
- Status Gauge Card
- Tick KPI Card
A total with delta, a stacked share bar, and a ranked list of the contributors with their values.
Capital inflows
$12.4M+$390K
- WaveMark CapitalCapital in$7.93M
- Envato FinancesCapital in$3.21M
- QBridge TechCapital in$1.25M
"use client"
import * as React from "react"A total with delta, a stacked bar showing how it splits, and a ranked list of the contributors with their values. Use it for capital inflows, revenue by source, or storage by type.
Installation#
pnpm dlx shadcn@latest add @dashboardcn/distribution-cardAlso installs card, button, dropdown-menu, tooltip from shadcn/ui if missing.
Usage#
import { DistributionCard } from "@/components/distribution-card"
<DistributionCard
title="Capital inflows"
total={12400000}
delta={390000}
valueLabel="Capital in"
items={[
{ name: "WaveMark Capital", value: 7928400, icon: <Gem />, color: "var(--color-teal-500)" },
{ name: "Envato Finances", value: 3214900, icon: <Hexagon />, color: "var(--color-amber-500)" },
{ name: "QBridge Tech", value: 1246300, icon: <Triangle />, color: "var(--color-orange-500)" },
]}
options={[
{ value: "3", label: "Top 3 funds" },
{ value: "5", label: "Top 5 funds" },
]}
/>Your dashboard, your code.
Every component is copied into your project with the shadcn CLI. No package to upgrade, nothing to override.