Components
Follow-up suggestion chips that stagger in after a reply and clear themselves once one is chosen. Respects prefers-reduced-motion.

"use client";
import Component from "@/components/ui/ai-suggestions";
export default function DemoOne() {
return (
<div className="flex min-h-[440px] w-full items-center justify-center bg-background p-10">
<div className="w-full max-w-lg rounded-2xl border bg-card p-6 shadow-sm">
<p className="text-foreground text-sm leading-relaxed">
Q3 recognised revenue was <strong>184,200</strong>, which is 37,200
below the bookings figure.
</p>
<div className="mt-5 border-t pt-5">
<Component
label="Ask a follow-up"
suggestions={[
{ id: "a", label: "Break it down by month" },
{ id: "b", label: "Why the 37,200 gap?" },
{ id: "c", label: "Compare with Q2" },
{ id: "d", label: "Export as CSV" },
]}
/>
</div>
</div>
</div>
);
}