dashboardcn
1

Insight Card

A hero card with a badge, a very large number, a headline, and a paged set of insights over a soft gradient.

Insights
75%

Authorization rate increased by 4% compared to last week.

This improvement reduced failed transactions by 950 and is projected to recover $12,400.

import { InsightCard } from "@/registry/dashboardcn/blocks/insight-card"

export default function InsightCardDemo() {

Installation

pnpm dlx shadcn@latest add https://dashboardcn.com/r/insight-card.json

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

Usage

import { InsightCard } from "@/components/insight-card"

<InsightCard
  badge="Insights"
  variant="aurora"
  interval={6000}
  items={[
    {
      value: 0.75,
      format: "percent",
      headline: "Authorization rate increased by 4% compared to last week.",
      description: "This improvement reduced failed transactions by 950 and is projected to recover $12,400.",
    },
    {
      value: 38,
      headline: "38 high-value customers have not ordered in 60 days.",
    },
  ]}
/>

Examples

Variants

variant picks the gradient: aurora, sunset, ocean, or graphite. size="md" shrinks the number for narrower columns.

Trending
12.4K

Signups from social doubled this week.

Most came from a single launch thread on Thursday.

Forecast
$1.28

Cost per lead is projected to fall 9% next month.

Driven by improving quality scores on the top three campaigns.

Anomaly
3.2s

Checkout latency spiked at 02:14 UTC.

Traced to a cold cache after the nightly deploy. Now recovered.

import { Flame, Sparkles, Waves } from "lucide-react"

import { InsightCard } from "@/registry/dashboardcn/blocks/insight-card"

Plain

variant="plain" drops the gradient and uses the card colors, so it sits next to other blocks.

Insights
75%

Authorization rate increased by 4% compared to last week.

This improvement reduced failed transactions by 950 and is projected to recover $12,400.

import { EllipsisVertical } from "lucide-react"

import { Button } from "@/components/ui/button"