Rebook no-shows automatically
Fill empty slots from the waitlist when clients cancel.
From last 14 days
A recommended insight or opportunity as a compact card, with tone and optional actions.
Recommended insight. Not Card. Not Scorecard. Not Alert.
A medium opportunity card with confidence and source. Actions are kit Buttons, or text links with actionStyle="link" or an href. Variants shows every tone and size.
Fill empty slots from the waitlist when clients cancel.
From last 14 days
InsightCard for a recommended action. Card for forms. Scorecard for one KPI. Alert for inline page status. One primary Button per view.
import { InsightCard } from "agentic-ds-kit";From contracts/insightcard.json: must is the a11y requirements, defaults the prop defaults, stops if the doNot rules where the agent asks instead of inventing a cousin.
| Name | Type | Required | Default | Notes |
|---|---|---|---|---|
| title | string | Yes | — | — |
| description | string | node | No | — | Text, or inline nodes such as a sentence with key numbers in <strong>. One or two sentences; no blocks, lists or buttons. |
| eyebrow | string | No | Insight | — |
| tone | enum | No | opportunity | Colors the tone icon. success (CircleCheck, icon-success) for good news that is done, e.g. a payment received. opportunity | success | warning | danger | info | neutral |
| size | sm | md | lg | No | md | — |
| confidence | string | No | — | e.g. High confidence |
| source | string | No | — | e.g. From last 7 days |
| primaryAction | object | No | — | The main action: a kit outline neutral Button, last in the footer, or a text link when it has href or actionStyle is link. secondaryAction is a ghost neutral Button before it. |
| secondaryAction | object | No | — | A kit ghost neutral Button before the primaryAction, or a text link when it has href or actionStyle is link. |
| actionStyle | button | link | No | button | link: actions render as text links ("View invoice →"): <a> with href, otherwise a button styled as a link. For alert tiles and quieter cards. |
| onDismiss | function | No | — | text Dismiss control, not a Button cousin |
one KPI with label, value, optional delta/trend/hint/badge
Framed tile with optional header, body, and footer actions.
Inline status banner that stays on the page.
One metric anomaly an agent flagged, so a person understands it before anything is fixed.