BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/shadcn/ui/chart-line-default

chart-line-default

yyc3-knowledge-base/chart-line-default
UnverifiedBlock

shadcn/ui publishes no description for this item.

Install it

npx shadcn@latest add https://raw.githubusercontent.com/YYC-Cube/YYC3-Knowledge-Base/main/YYC3-D/ui/apps/v4/chart-line-default.json

Source

registry/new-york-v4/charts/chart-line-default.tsxraw.githubusercontent.com/YYC-Cube/YYC3-Knowledge-Base/main/YYC3-D/ui/apps/v4/chart-line-default.json
1"use client"
2
3import { TrendingUp } from "lucide-react"
4import { CartesianGrid, Line, LineChart, XAxis } from "recharts"
5
6import {
7 Card,
8 CardContent,
9 CardDescription,
10 CardFooter,
11 CardHeader,
12 CardTitle,
13} from "@/registry/new-york/ui/card"
14import {
15 ChartConfig,
16 ChartContainer,
17 ChartTooltip,
18 ChartTooltipContent,
19} from "@/registry/new-york/ui/chart"
20const chartData = [
21 { month: "January", desktop: 186 },
22 { month: "February", desktop: 305 },
23 { month: "March", desktop: 237 },
24 { month: "April", desktop: 73 },
25 { month: "May", desktop: 209 },
26 { month: "June", desktop: 214 },
27]
28
29const chartConfig = {
30 desktop: {
31 label: "Desktop",
32 color: "hsl(var(--chart-1))",
33 },
34} satisfies ChartConfig
35
36export default function Component() {
37 return (
38 <Card>
39 <CardHeader>
40 <CardTitle>Line Chart</CardTitle>
41 <CardDescription>January - June 2024</CardDescription>
42 </CardHeader>
43 <CardContent>
44 <ChartContainer config={chartConfig}>
45 <LineChart
46 accessibilityLayer
47 data={chartData}
48 margin={{
49 left: 12,
50 right: 12,
51 }}
52 >
53 <CartesianGrid vertical={false} />
54 <XAxis
55 dataKey="month"
56 tickLine={false}
57 axisLine={false}
58 tickMargin={8}
59 tickFormatter={(value) => value.slice(0, 3)}
60 />
61 <ChartTooltip
62 cursor={false}
63 content={<ChartTooltipContent hideLabel />}
64 />
65 <Line
66 dataKey="desktop"
67 type="natural"
68 stroke="var(--color-desktop)"
69 strokeWidth={2}
70 dot={false}
71 />
72 </LineChart>
73 </ChartContainer>
74 </CardContent>
75 <CardFooter className="flex-col items-start gap-2 text-sm">
76 <div className="flex gap-2 font-medium leading-none">
77 Trending up by 5.2% this month <TrendingUp className="h-4 w-4" />
78 </div>
79 <div className="leading-none text-muted-foreground">
80 Showing total visitors for the last 6 months
81 </div>
82 </CardFooter>
83 </Card>
84 )
85}

What it pulls in

Other registry items

  • card
  • chart

Files it writes

  • registry/new-york-v4/charts/chart-line-default.tsx

Facts

Registry
shadcn/ui
Type
registry:block
Access
Unverified
Files written
1
Licence
the repository states none
In the index
at or before 2026-08-13
Last confirmed
yesterday

Go to the source

ui.shadcn.com YYC-Cube/YYC3-Knowledge-Base on GitHub Raw registry item This item as JSON

More from shadcn/ui

All 411 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
chart-area-axeschart-area-axesshadcn/uiBlocksUnverifiedno deps
chart-area-defaultchart-area-defaultshadcn/uiBlocksUnverifiedno deps
chart-area-gradientchart-area-gradientshadcn/uiBlocksUnverifiedno deps
chart-area-iconschart-area-iconsshadcn/uiBlocksUnverifiedno deps
chart-area-interactivechart-area-interactiveshadcn/uiBlocksUnverifiedno deps
chart-area-legendchart-area-legendshadcn/uiBlocksUnverifiedno deps
chart-area-linearchart-area-linearshadcn/uiBlocksUnverifiedno deps
chart-area-stackedchart-area-stackedshadcn/uiBlocksUnverifiedno 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

KitGrade

SaaS starter kits, scored from measured facts

kitgrade.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 KitGrade

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 KitGrade

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 KitGrade

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