Skip to content
Browse library
BIU UI/Components/Message Scroller
COMPONENTSPro

Message Scroller

Explore the Message Scroller component and try its interactive examples.

INTERACTIVE PREVIEW

Preview

Loading preview…
GET STARTED

Installation

BIU UI ProEarly Access · Coming Soon
Message Scroller source is part of BIU UI Pro

The interactive preview and API reference are open to try right here. Full single-file TSX source and @biudev-pro/message-scroller shadcn Registry installs are reserved for BIU UI Pro. Meanwhile, all 41 core components and 2 starter blocks are free and open source under MIT.

npx shadcn@latest add @biudev-pro/message-scroller

Usage

Start with this example, then adjust the import path for your project.

EXAMPLE / TSX
import { MessageScroller } from "@/components/ui/biu/message-scroller";
import { AiMessage } from "@/components/ui/biu/ai-message";

export function Example() {
  return (
    <MessageScroller navigation="rail" style={{ height: 360 }}>
      <AiMessage role="user" content="What shipped today?" />
      <AiMessage role="assistant" content="Decision Card, Message Scroller, and upgraded Sidebar." />
    </MessageScroller>
  );
}

Examples

Try each example or switch to its code.

API reference

Properties and defaults from the component source. An asterisk marks a required property; a dash means no explicit default.

MessageScrollerRole

Also accepts properties from 'user' & 'assistant' & 'system'.

Some properties depend on the variant; consult the source for the full union.

MessageScrollerNavItem

MessageScrollerLabels

MessageScrollerProps

Source

BIU UI ProEarly Access · Coming Soon
Message Scroller source is part of BIU UI Pro

The interactive preview and API reference are open to try right here. Full single-file TSX source and @biudev-pro/message-scroller shadcn Registry installs are reserved for BIU UI Pro. Meanwhile, all 41 core components and 2 starter blocks are free and open source under MIT.

npx shadcn@latest add @biudev-pro/message-scroller