noahgdev

Insight Card

Dashboards

About

A hero card with a badge, a very large number, a headline, and a paged set of insights over a soft gradient. Use it to surface generated or curated findings at the top of a dashboard.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Insight Card to your project and fits it to your theme.

Code

How Insight Card is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

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

export default function InsightCardDemo() {
  return (
    <InsightCard
      className="w-full max-w-sm"
      badge="Insights"
      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: 2.1,
          format: "currency",
          headline: "Average order value is up $2.10 since the checkout redesign.",
          description:
            "Bundled add-ons account for most of the lift, led by extended warranties.",
        },
        {
          value: 38,
          headline: "38 high-value customers have not ordered in 60 days.",
          description:
            "Together they made up 11% of revenue last quarter. A win-back offer is recommended.",
        },
      ]}
    />
  )
}

Dependencies

More by noahgdev

View all
  • Donut Chart

    Donut Chart

    5
  • Funnel Chart

    Funnel Chart

    3
  • Heatmap Chart

    Heatmap Chart

    3
  • Sankey Chart

    Sankey Chart

    1
  • Segmented Meter

    Segmented Meter

    1
  • Revenue Ring Card

    Revenue Ring Card

  • Payment Summary Card

    Payment Summary Card

  • Commerce KPI Row

    Commerce KPI Row

More in Dashboards

View all
  • Fernly — Project Management Dashboard with Kanban

    Fernly — Project Management Dashboard with Kanban

    751
  • Analytics Dashboard

    Analytics Dashboard

    81
  • Creator Dashboard

    Creator Dashboard

    216
  • Insights Dashboard

    Insights Dashboard

    44
  • Corbel — Sales Analytics Dashboard

    Corbel — Sales Analytics Dashboard

    446
  • serf dashboard

    serf dashboard

    144
  • Dashboard with Collapsible Sidebar

    Dashboard with Collapsible Sidebar

    2.7K
  • Halden — CRM Dashboard with Sales Pipeline

    Halden — CRM Dashboard with Sales Pipeline

    65