Skip to content
unseen.uiby Stack Unseen
Get started
All tasks

AI chat

A composer, the messages, a streaming reply and the actions on it.

Live examples

Assistant

Archive the accounts with no activity for 90 days.

I found 2 accounts with no activity for 90 days. Archiving needs your approval.

Review required

Run archive_accounts

Pending

archive_accounts

Both accounts become read-only. An administrator can restore them.

Response complete
Shift + Enter for a new line
Chat on a simulated AI SDK chat. The full recipe
Shift + Enter for a new line
PromptInputStates, props and code

Which accounts need an owner review before archival?

Response complete

I found three accounts that need an owner review. Here’s the context to help you decide.

Response complete
MessageStates, props and code

The components

Imports

Install once with npm install @stackunseen/ui, then import what you use.

tsx
import { Chat } from '@stackunseen/ui/chat';
import { PromptInput, Message, StreamingResponse, MessageActions, Suggestions, Attachment, FileDropzone, FeedbackCapture } from '@stackunseen/ui';
import { ModelSelector } from '@stackunseen/ui/assistant';
import '@stackunseen/ui/styles.css';
import '@stackunseen/ui/chat.css';

See them working together in Chat on the Vercel AI SDK.