Insight Cards

Paged agent insights with scrub-ready live charts.

Installation

pnpm dlx shadcn@latest add @ward/insight-cards

Add the Ward registry to components.json once:

"registries": {
  "@ward": "https://ward.so/r/{name}.json"
}

Or install from the URL with no configuration: npx shadcn@latest add https://ward.so/r/insight-cards.json

Usage

import InsightCards from "@/components/ward/InsightCards";
<InsightCards labels={{ title: "Weekly insights" }} />

Props

PropTypeDefaultDescription
variantstring"Default"Accepted for registry parity; the component has a single variant.
pagesInsightPage[]PAGESInsight pages to step through, each with a summary sentence, a card component and a follow-up prompt.
labelsPartial<InsightCardsLabels>-Overrides for the heading shown before the page count, which is "Insights" when not set.

Ward · Version 1.1.0 · Registry manifest