WingoUI
Buttons & Actions
ButtonButton GroupCopy ButtonDelete ButtonTheme ToggleToggleToggle Group
Inputs
Avatar UploadCalendarCheckboxColor PickerComboboxCron PickerCurrency InputDate PickerDate Range PickerDate Time PickerDuration PickerFile UploadFilter BuilderInputInput GroupListboxMasked InputMention InputMonth PickerMulti SelectNumber InputOTP InputPassword InputPhone InputRadio GroupRatingSearch InputSegmented ControlSelectSignature PadSliderSwitchTag InputTextareaTime Picker
Forms
Address InputCSV ImportFieldForm WizardInline EditInvoice line itemsRich Text Editor
Navigation
Back To TopBounce SidebarBreadcrumbCommand MenuGlobal SearchGooey NavHook SidebarNav MenuNav TabsPaginationProximity SidebarScroll ProgressSidebarStepsTable Of ContentsTabsTopbarUser MenuWorkspace Switcher
Overlays
Alert DialogContext MenuDialogDrawerDropdown MenuFamily DrawerHover CardPopoverSheetShortcuts DialogTooltipTour
Feedback
AlertBannerCookie ConsentEmoji ReactionEmpty StateNotification BellNotification CenterProgressRoute ProgressSkeletonSpinnerToast
Data Display
Approval FlowAvatarBadgeCalendar ViewCode BlockComment ThreadContact cardCountdownDescription ListDiff ViewerFile ListFile managerFolderGanttJSON ViewerKbdLog ViewerMarkdownPresenceSchedulerTagTimelineTree View
Tables & Lists
Audit LogData TableDeal PipelineEditable GridKanbanListMembers tablePermissions MatrixTableTask ListVirtual List
Charts & Stats
Animated CounterArea chartBar chartDonut chartFunnel chartGaugeGitHub ActivityHeatmap calendarLeaderboardLine chartRadial barSparklineStat CardTrackerTrend badge
Layout
AccordionApp ShellCardCollapsibleDetail LayoutEntity HeaderPage HeaderScroll AreaSeparatorSettings LayoutSplit ViewToolbar
Media
Audio PlayerCarouselImage CropperImage LightboxLocation MapQR CodeStep PlayerVideo Player
AI Kit
Agent Status CardChat MessageChat ThreadConversation ListFluid OrbGrid RevealMatrix OrbModel PickerPrompt InputReasoning IndicatorRule BuilderSuggestion ChipsTool Call TimelineUsage MeterVoice InputWorkflow Canvas
Text & Effects
Gravity Letters
Mobile
Action SheetBottom Tab BarFABHaptic ButtonHero HeaderInstall PromptLarge Title HeaderNotification BannerOnboarding CarouselPicker WheelPull To RefreshSlide To ConfirmSticky CTA BarSwipe DeckSwipeable Tabs
Commerce
Cart drawerCategory pickerCheckout stepsCoupon inputFavorite buttonFilter panelListing cardListing gridOrder trackerPricePrice rangePricing tableProduct galleryQuantity stepperReviewsSeller card
Blocks
Admin Dashboard PageAdmin ShellAI Chat PageAutomation Builder PageCheckout PageCRM Contact PageCRM Pipeline PageError PagesInbox PageInvoice PageKPI DashboardListing Detail PageLogin PageMarketplace Home PageMarketplace Search PageMarketplace ShellMobile App HomeOnboarding FlowPost Listing WizardPricing PageRegister PageSettings PageUsers Admin Page
Hooks & Utilities
AI ChatChart kitCommerceDate utilsFile exportFile typesFiltersForm validationHapticsInvoicingMotion presetsNavigationNumber formatRelative timeRomanian locationsSpreadsheetText matchTonesUIProvideruseClipboarduseConsentuseControllableStateuseCooldownuseDebounceuseKeyboardInsetuseLocaleuseLongPressuseMediaControlsuseMediaQueryuseOverflowItemsusePersistedStateuseScrollEdgesuseScrollStateuseSelectionuseShortcutuseStickToBottom
GalleryThemeCredits

AI Kit

Chat Thread

AI KitChat Thread
Chat MessageConversation List
Live props
State
thinking
hasMore
loadingMore
loading
Content
greeting
emptyDescription
Appearance
variant
size
dateSeparators
Layout
maxWidth
Behavior
stickToBottom
jumpButton
announce
locale
Code
import { ChatThread } from "@/components/ui/chat-thread"

<ChatThread />
Pro

v1.0.0·Added in 1.0.0

The scrolling conversation of an AI chat: pinned to the newest message while it streams, with day pills, follow-ups and a pinned composer.

The thread opens at the newest message and follows a reply while it streams. Scroll up (wheel, finger, arrows, Page Up) and it lets go at once; a pill floats above the composer with the number of new replies, and tapping it glides back down and puts focus on the newest message. Sending always brings you to the bottom. Day pills stick to the top while their day scrolls under them. Reach the top of a long history and older messages load above without the view moving. Under the latest answer, follow-up rows send themselves on a tap or Enter (arrow keys move between them). An empty thread shows a greeting with starter cards that scroll sideways on phones. Tab reaches the header, the message list (it scrolls with the keyboard), each message's actions, the follow-ups, the jump pill and the composer. Screen readers hear once when a reply starts and when it is ready, never every streamed word.

Add to a project

npx wingo-ui@latest add chat-thread

Pro item: the CLI needs a Pro account. See plans

Dependencies

motionlucide-reactchat-messagesuggestion-chipsmarkdownbuttonskeletonspinneruse-stick-to-bottomuse-localeai-chatdate-utilsnumber-formatrelative-timemotionui-config

Files

  • components/ui/chat-thread.tsx

See also

Chat MessageSuggestion ChipsPrompt InputConversation ListuseStickToBottomhookAI Chatlib
PreviousChat MessageNext Conversation List

Overdue invoices in September

Wednesday, September 23, 2026

Yesterday
  1. You said, 6:10 PM

    Hi! Can you help me with collections tomorrow?

    6:10 PM
  2. Summit Assistant said, 6:10 PM

    Sure. I can search invoices, prepare reminders and build collection reports. Message me when you are ready.

    6:10 PM·Summit Standard

Thursday, September 24, 2026

Today
  1. You said, 4:32 PM

    Which invoices from September are overdue? Put them in a table and suggest what to do next.

    4:32 PM
  2. Summit Assistant said, 4:32 PM

    I found 3 overdue invoices in September, $22,775.95 in total:

    ClientInvoiceAmountLate
    Northwind Tech Inc.#2026-0405$12,480.001 day
    Greenleaf Pharmacy#2026-0371$7,315.2053 days
    Westside Books#2026-0366$2,980.7557 days

    What I suggest:

    1. A polite reminder to Northwind Tech Inc., the due date passed yesterday.
    2. A call to Greenleaf Pharmacy: Daniel Cross, (503) 555-0118.
    3. For Westside Books, a formal payment notice. I can use the Final notice template.

    Should I draft the emails?

    4:32 PM·Summit Pro
Shift + Enter for a new line

last action: — · announce: notice · 4 messages