Type a prompt and press Enter to send
Send a prompt to see the replies. Tabs switch the context without changing the thread.
A tabbed chat panel with scripted agent replies that reveal in sequence after the user sends, and a prompt field.
Type a prompt and press Enter or the send button. Your message appears, then two replies reveal one after another. Tabs switch the context chip. The first reply is pre-filled so the card is never empty.
Options for the assembled component.
messagesChatMessage[]Scripted replies revealed in order after the user sends. Each has label, sub, time and body.
suggestionsstring[]Header tabs. The first one starts selected.
labelsPartial<ChatComposerLabels>initialPrompt fills the first bubble; placeholder fills the input.
onSend(text: string) => voidCalled with the trimmed prompt when the user sends.
components/ChatComposer.tsxHeader tabs and actions, the conversation region, and the composer. Owns the send phases and the reply timing.
app/globals.cssScoped color and shadow tokens on .chat-composer, with the fade-up keyframes and reduced-motion handling.
Recreated from the Chat panel on beautifului.dev. Colors, shadows and timing are the reference values.
Type a prompt and press Enter to send
Pulled 3 summers of mint chip sales for comparison.
Mint chip is up 12% with stronger weekend peaks.
Send a prompt to see the replies. Tabs switch the context without changing the thread.