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-pie-separator-none

chart-pie-separator-none

yyc3-knowledge-base/chart-pie-separator-none
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-pie-separator-none.json

Source

registry/new-york-v4/charts/chart-pie-separator-none.tsxraw.githubusercontent.com/YYC-Cube/YYC3-Knowledge-Base/main/YYC3-D/ui/apps/v4/chart-pie-separator-none.json
1"use client"
2
3import { TrendingUp } from "lucide-react"
4import { Pie, PieChart } 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 { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" },
22 { browser: "safari", visitors: 200, fill: "var(--color-safari)" },
23 { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" },
24 { browser: "edge", visitors: 173, fill: "var(--color-edge)" },
25 { browser: "other", visitors: 90, fill: "var(--color-other)" },
26]
27
28const chartConfig = {
29 visitors: {
30 label: "Visitors",
31 },
32 chrome: {
33 label: "Chrome",
34 color: "hsl(var(--chart-1))",
35 },
36 safari: {
37 label: "Safari",
38 color: "hsl(var(--chart-2))",
39 },
40 firefox: {
41 label: "Firefox",
42 color: "hsl(var(--chart-3))",
43 },
44 edge: {
45 label: "Edge",
46 color: "hsl(var(--chart-4))",
47 },
48 other: {
49 label: "Other",
50 color: "hsl(var(--chart-5))",
51 },
52} satisfies ChartConfig
53
54export default function Component() {
55 return (
56 <Card className="flex flex-col">
57 <CardHeader className="items-center pb-0">
58 <CardTitle>Pie Chart - Separator None</CardTitle>
59 <CardDescription>January - June 2024</CardDescription>
60 </CardHeader>
61 <CardContent className="flex-1 pb-0">
62 <ChartContainer
63 config={chartConfig}
64 className="mx-auto aspect-square max-h-[250px]"
65 >
66 <PieChart>
67 <ChartTooltip
68 cursor={false}
69 content={<ChartTooltipContent hideLabel />}
70 />
71 <Pie
72 data={chartData}
73 dataKey="visitors"
74 nameKey="browser"
75 stroke="0"
76 />
77 </PieChart>
78 </ChartContainer>
79 </CardContent>
80 <CardFooter className="flex-col gap-2 text-sm">
81 <div className="flex items-center gap-2 font-medium leading-none">
82 Trending up by 5.2% this month <TrendingUp className="h-4 w-4" />
83 </div>
84 <div className="leading-none text-muted-foreground">
85 Showing total visitors for the last 6 months
86 </div>
87 </CardFooter>
88 </Card>
89 )
90}

What it pulls in

Other registry items

  • card
  • chart

Files it writes

  • registry/new-york-v4/charts/chart-pie-separator-none.tsx

Facts

Registry
shadcn/ui
Type
registry:block
Access
Unverified
Files written
1
Licence
the repository states none
First indexed
2026-08-01
Last confirmed
2 days ago

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
BlockDex

Built by

Kynth Studio

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

BlockDex

BlockDex

Built by

Kynth Studio

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

BlockDex

BlockDex

Built by

Kynth Studio

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

BlockDex