Skip to content
Components73 / 118

AI Chat Panel

An assistant card lit from inside by a living aurora. It greets you word by word; every keystroke pulses the light; sending flies your question into a bubble while the input drops away, and the answer streams in word by word, glowing violet before it settles. The aurora leans toward your cursor and breathes with the answer.

AIChatStreamingAuroraSquash & stretchGSAP
Move over the cardType and press Enter

Tweak

LIVE

Text

Demo

Play a question on load

Props

8 props
  • respond(question: string) => string | Promise<string>
    Produce the answer; it streams in word by word.
  • titlestring
    Header (click it for a new chat).default "AI Assistant"
  • greetingstring
    The empty-state greeting.default "What are you working on?"
  • placeholderstring
    Input placeholder.default "Ask me anything"
  • widthnumber
    Card width, px.default 560
  • heightnumber
    Card height, px.default 380
  • autoplay{ question: string; loop?: boolean } | false
    Type and send a question by itself (for showcases).default false
  • classNamestring
    Extra classes.