AI Components
Chat
A complete assistant window built from the AI components.
Assistant
Online
The ai-05 block from blocks.so, rebuilt on Nooxit. It
shows how the parts fit together: Conversation
holds the Messages, and the footer pairs
Suggestions with a
Prompt Input. Replies are scripted. To wire
it to a model, replace handleSend with your useChat call and stream the text
into MessageResponse.
What changed from the block
- The window is a Card: a 1px border and no
shadow, instead of the block's layered shadows and 24px radius. The title and
the "Online" line are
CardTitleandCardDescription, and the buttons sit inCardAction. - The online dot uses
successinstead of a stock green. - Quick prompts are Suggestions, not hand-styled buttons.
- Bubbles and the input keep their system look. The block's overrides for a rounded primary user bubble and a tinted input are gone.
- Phosphor icons replace Tabler.
- The copy is about procurement. All orders, invoices and suppliers are fictional.
Source — components/demos/ai-chat-demo.tsx