About
A centered revenue metric inside a dense segmented ring, with a legend and full-width action.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Revenue Ring Card to your project and fits it to your theme.
Code
How Revenue Ring Card is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { RevenueRingCard } from "@/components/ui/dashboardcn-revenue-ring-card"
export default function RevenueRingCardDemo() {
return (
<RevenueRingCard
className="w-full max-w-md"
label="Total revenue"
value={284920}
progress={82}
color="var(--foreground)"
legend={[
{ label: "Subscriptions", color: "var(--foreground)" },
{ label: "Usage & services", color: "var(--muted-foreground)" },
]}
action={{ label: "View details", href: "#" }}
/>
)
}
















