Components
A share-of-total card with a period switcher, a big percentage with delta, a tick bar, and a footer stat with an avatar stack.
Portfolio allocation
46%+3.4%vs prior period
Equities exposure: $4.7M
K6 members

Kimport { AllocationCard } from "@/registry/dashboardcn/blocks/allocation-card"
export default function AllocationCardDemo() {Installation#
pnpm dlx shadcn@latest add https://dashboardcn.com/r/allocation-card.jsonAlso installs card, tabs, tooltip from shadcn/ui if missing.
Usage#
import { AllocationCard } from "@/components/allocation-card"
<AllocationCard
title="Portfolio allocation"
description="Share of assets under management held in equities."
value={0.46}
delta={0.034}
deltaLabel="vs prior period"
periods={[
{ value: "week", label: "Week" },
{ value: "month", label: "Month" },
]}
stat={{ label: "Equities exposure", value: "$4.7M" }}
people={[
{ name: "shadcn", src: "https://github.com/shadcn.png" },
{ name: "Kai" },
]}
peopleLabel="6 members"
/>Your dashboard, your code.
Every component is copied into your project with the shadcn CLI. No package to upgrade, nothing to override.