Reusable pattern for surfacing a one-paragraph generated overview at the top of a page. Replaces a static intro card; intended to be deployed across the contractor dashboard wherever a user lands and asks "what do I need to know?"
Imported from @/demos/ai-summary/demo.
On first render the prose types in. The cursor blinks while streaming; both stop once the full text is shown.
Skeleton lines for in-flight generation, then a streamed reveal once text resolves. Same footprint, no layout shift.
Pills under the prose show the structured signals the prose was built from. Each pill is optionally a link into the underlying view, so the user can audit the data.
Across your 18 parent accounts, 42 alerts are open and 6 hubs are offline — most of the load is concentrated on Benson's (12 alerts) and ACE Heating, which dropped to At risk 6h ago. Engagement on your CSM book is up 18% MoM with three accounts trending toward expansion.
Suggested prompt chips below the prose. Clicking fires a callback so the consumer can route to a richer answer surface — a chat drawer, a filtered view, or a deeper insight.
Across your 18 parent accounts, 42 alerts are open and 6 hubs are offline — most of the load is concentrated on Benson's (12 alerts) and ACE Heating, which dropped to At risk 6h ago. Engagement on your CSM book is up 18% MoM with three accounts trending toward expansion.
Collapsible disclosure showing the structured signals and ranking logic that built the prose. Hidden by default; useful for power users and auditing.
Across your 18 parent accounts, 42 alerts are open and 6 hubs are offline — most of the load is concentrated on Benson's (12 alerts) and ACE Heating, which dropped to At risk 6h ago. Engagement on your CSM book is up 18% MoM with three accounts trending toward expansion.
Disclaimer microcopy on the left, thumbs and copy on the right. Use anywhere model output is consumed and the user might want to flag a bad result or paste it elsewhere.
Across your 18 parent accounts, 42 alerts are open and 6 hubs are offline — most of the load is concentrated on Benson's (12 alerts) and ACE Heating, which dropped to At risk 6h ago. Engagement on your CSM book is up 18% MoM with three accounts trending toward expansion.
AI can make mistakes — verify before acting.
All four optional surfaces enabled at once. Useful for executive overviews where the trust budget is highest and follow-ups matter.
Across your 18 parent accounts, 42 alerts are open and 6 hubs are offline — most of the load is concentrated on Benson's (12 alerts) and ACE Heating, which dropped to At risk 6h ago. Engagement on your CSM book is up 18% MoM with three accounts trending toward expansion.
AI can make mistakes — verify before acting.
Add a conic-gradient glow behind the card to mark the summary as a hero surface. Borrowed from ambient-web's Card brilliance variant.
Across your 18 parent accounts, 42 alerts are open and 6 hubs are offline — most of the load is concentrated on Benson's (12 alerts) and ACE Heating, which dropped to At risk 6h ago. Engagement on your CSM book is up 18% MoM with three accounts trending toward expansion.
AI can make mistakes — verify before acting.
When the model genuinely has little to say, the placeholder min-height keeps the card from collapsing into a single line.
All clear today — no open alerts, every hub online, and engagement holding steady across the book.
If the model errors out, the card stays put with a quiet fallback so the rest of the page is unaffected.
Couldn't generate a summary right now.
The same component sized for a different context, summarizing one home's efficiency story instead of a CSM's whole book.
Chelsea's Austin home is running about 18% below its typical efficiency this month. The trend started in late February and projects forward through the summer if nothing changes; consider scheduling a tune-up.