Thread Bookmarks
ProNewJump between saved moments in a conversation with a moving bookmark and a scrollable transcript.
Installation
pnpm dlx shadcn@latest add @viewport/thread-bookmarks
First time? Add the @viewport registry to components.json. Setup takes one minute.
Usage
The code behind the preview above comes with Truffle Pro.
Props
| Prop | Type | Default |
|---|---|---|
| title* | stringConversation title. | — |
| messages* | Message[]Messages in reading order. Set bookmark to add a named jump target. | — |
Accessibility
- Bookmarks are named buttons. The scroll region is keyboard focusable and honors reduced motion.