Search documentation

Search for a page or component.

Revenue Ring Card

A centered revenue metric inside a dense segmented ring, with a dotted legend, full-width action, and a reduced-motion-safe chart reveal.

Total revenue$285K
SubscriptionsUsage & services
View details
import { RevenueRingCard } from "@/registry/dashboardcn/blocks/revenue-ring-card"

export default function RevenueRingCardDemo() {

Installation

pnpm dlx shadcn@latest add @dashboardcn/revenue-ring-card

Also installs card, button, tooltip from shadcn/ui if missing.

Usage

import { RevenueRingCard } from "@/components/revenue-ring-card"

<RevenueRingCard
  label="Total revenue"
  value={284920}
  progress={82}
  legend={[{ label: "Subscriptions" }, { label: "Usage & services" }]}
  action={{ label: "View details", href: "#" }}
/>