docs/components/chat-ai/MessageList

MessageList

Virtualized message list.

import { MessageList } from '@ybouhjira/hyperkit';

#Playground

Edit the code — the preview recompiles and re-renders as you type.

Live playground
Loading preview…

#Props

PropTypeDefaultDescription
messages *Message[]
streamingMessageIdstring
onCopyMessage(message: Message) => void
autoScrollboolean
classstring

* required prop.

#Design Tokens

This component reads the following CSS custom properties. Override them globally or per-instance to restyle it — see the CSS Variables guide.

  • --sk-font-size-base
  • --sk-space-md
  • --sk-space-sm
  • --sk-text-muted