This component no longer exists. It was in shadcn/ui’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-05 and this item was not on it. The install command below will fail. It is kept here because a tutorial somewhere still tells people to run it.
chart-area-stacked
accelya-ui-lib/chart-area-stackedRemovedBlock
shadcn/ui publishes no description for this item.
Install it
npx shadcn@latest add https://raw.githubusercontent.com/ramsaoji/Accelya-UI-Lib/main/public/r/styles/default/chart-area-stacked.jsonSource
1"use client"23import { TrendingUp } from "lucide-react"4import { Area, AreaChart, CartesianGrid, XAxis } from "recharts"56import {7 Card,8 CardContent,9 CardDescription,10 CardFooter,11 CardHeader,12 CardTitle,13} from "@/registry/default/ui/card"14import {15 ChartConfig,16 ChartContainer,17 ChartTooltip,18 ChartTooltipContent,19} from "@/registry/default/ui/chart"20const chartData = [21 { month: "January", desktop: 186, mobile: 80 },22 { month: "February", desktop: 305, mobile: 200 },23 { month: "March", desktop: 237, mobile: 120 },24 { month: "April", desktop: 73, mobile: 190 },25 { month: "May", desktop: 209, mobile: 130 },26 { month: "June", desktop: 214, mobile: 140 },27]2829const chartConfig = {30 desktop: {31 label: "Desktop",32 color: "hsl(var(--chart-1))",33 },34 mobile: {35 label: "Mobile",36 color: "hsl(var(--chart-2))",37 },38} satisfies ChartConfig3940export default function Component() {41 return (42 <Card>43 <CardHeader>44 <CardTitle>Area Chart - Stacked</CardTitle>45 <CardDescription>46 Showing total visitors for the last 6 months47 </CardDescription>48 </CardHeader>49 <CardContent>50 <ChartContainer config={chartConfig}>51 <AreaChart52 accessibilityLayer53 data={chartData}54 margin={{55 left: 12,56 right: 12,57 }}58 >59 <CartesianGrid vertical={false} />60 <XAxis61 dataKey="month"62 tickLine={false}63 axisLine={false}64 tickMargin={8}65 tickFormatter={(value) => value.slice(0, 3)}66 />67 <ChartTooltip68 cursor={false}69 content={<ChartTooltipContent indicator="dot" />}70 />71 <Area72 dataKey="mobile"73 type="natural"74 fill="var(--color-mobile)"75 fillOpacity={0.4}76 stroke="var(--color-mobile)"77 stackId="a"78 />79 <Area80 dataKey="desktop"81 type="natural"82 fill="var(--color-desktop)"83 fillOpacity={0.4}84 stroke="var(--color-desktop)"85 stackId="a"86 />87 </AreaChart>88 </ChartContainer>89 </CardContent>90 <CardFooter>91 <div className="flex w-full items-start gap-2 text-sm">92 <div className="grid gap-2">93// … truncated
What it pulls in
Other registry items
