Skip to content
← Components

message-scroller

Component

A scroll container for chat messages with stick-to-bottom autoscroll and a scroll-to-end button. Port of shadcn/ui message-scroller.

Preview

Welcome to the nisli chat demo.
How do I install a component?
Run npx @nisli/ui add <name> — the source lands in your repo.
And I own the code after that?
Exactly. Edit it freely; it never auto-updates.
Perfect, thanks!

Installation

npx @nisli/ui add message-scroller

Dependencies

utils, button

Files you own

  • ui/message-scroller.ts