BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/dashboardblocks/area-chart-kpi-01

area-chart-kpi-01

dashboardblocks/area-chart-kpi-01
FreeComponent

dashboardblocks publishes no description for this item.

Install it

npx shadcn@latest add https://dashboardblocks.com/r/area-chart-kpi-01.json

Source

registry/components/dashboardblocks/kpi/area-chart-kpi-01.tsxdashboardblocks.com/r/area-chart-kpi-01.json
1'use client'
2
3import {
4 TinyAreaChart,
5 ValueFormatter,
6} from '@/registry/components/dashboardblocks/chart'
7import { KPI, KPIContent, KPIValue } from '@/registry/components/dashboardblocks/kpi'
8import { Trend } from '@/registry/components/dashboardblocks/trend'
9import { AreaProps } from 'recharts'
10
11import { CardDescription } from '@/components/ui/card'
12
13interface AreaChartKPI1Props {
14 trend: number
15 data: unknown[]
16 formatter?: ValueFormatter
17 height: number
18 areas: AreaProps[]
19 title: string
20 value: number
21}
22
23const exampleProps: AreaChartKPI1Props = {
24 trend: 3.7,
25 data: [
26 {
27 label: 'Monday',
28 revenue: 4200,
29 profit: 1200,
30 },
31 {
32 label: 'Tuesday',
33 revenue: 5100,
34 profit: 1500,
35 },
36 {
37 label: 'Wednesday',
38 revenue: 2800,
39 profit: 800,
40 },
41 {
42 label: 'Thursday',
43 revenue: 5600,
44 profit: 1600,
45 },
46 {
47 label: 'Friday',
48 revenue: 6300,
49 profit: 1800,
50 },
51 {
52 label: 'Saturday',
53 revenue: 5400,
54 profit: 1400,
55 },
56 {
57 label: 'Sunday',
58 revenue: 6900,
59 profit: 2000,
60 },
61 ],
62 formatter: (value) => `$${value.toLocaleString()}`,
63 height: 120,
64 areas: [
65 {
66 dataKey: 'revenue',
67 fill: 'var(--color-chart-1)',
68 stroke: 'var(--color-chart-1)',
69 },
70 {
71 dataKey: 'profit',
72 fill: 'var(--color-chart-2)',
73 stroke: 'var(--color-chart-2)',
74 },
75 ],
76 title: 'Profit Margin',
77 value: 42.3,
78}
79
80const AreaChartKPI1 = (props: AreaChartKPI1Props) => {
81 const { trend, data, formatter, height, areas, title, value } = props
82 return (
83 <KPI>
84 <KPIContent>
85 <div className='space-y-1'>
86 <div className='flex items-center justify-between'>
87 <CardDescription>{title}</CardDescription>
88 <Trend trend={trend} variant='badge' />
89 </div>
90 <KPIValue value={value} formatter={formatter} animated />
91 </div>
92 <TinyAreaChart data={data} areas={areas} formatter={formatter} height={height} />
93 </KPIContent>
94 </KPI>
95 )
96}
97
98export {
99 AreaChartKPI1,
100 exampleProps as areaChartKpi1ExampleProps,
101 type AreaChartKPI1Props,
102}

What it pulls in

Other registry items

  • card
  • https://dashboardblocks.com/r/animated-number.json
  • https://dashboardblocks.com/r/chart.json
  • https://dashboardblocks.com/r/kpi.json
  • https://dashboardblocks.com/r/trend.json

Files it writes

  • registry/components/dashboardblocks/kpi/area-chart-kpi-01.tsx

Facts

Registry
dashboardblocks
Type
registry:component
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-13
Last confirmed
today

Go to the source

dashboardblocks.com LGLabGreg/dashboardblocks on GitHub Raw registry item This item as JSON

More from dashboardblocks

All 36 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Activity Feedactivity-feeddashboardblocksComponentsFree1 dep
activity-feed-01activity-feed-01dashboardblocksComponentsFree1 dep
activity-feed-02activity-feed-02dashboardblocksComponentsFree1 dep
activity-feed-03activity-feed-03dashboardblocksComponentsFree1 dep
activity-feed-04activity-feed-04dashboardblocksComponentsFree1 dep
activity-feed-05activity-feed-05dashboardblocksComponentsFree1 dep
Animated Numberanimated-numberdashboardblocksComponentsFreeno deps
Animated Waveanimated-wavedashboardblocksComponentsFreeno deps

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex