Skip to content
Sign upGet access
MicrointeractionsThread bumpMenu

Thread bump (Pro)

ProIncluded in $99

A chat list that shows activity as movement: a thread with a new reply rises to the top.

ProA thread with a new reply rises to the top of the list, gliding past the ones it overtakes, and arrives lit with its unread dot.

When a thread gets a new reply it rises to the top, gliding past the threads it overtakes while they each step down one place, and arrives lit for a moment, its title heavier and its time in blue until it is read. Moves are animated from where each row was, so several bumps in a row never jump.

Installation

$ pnpm dlx shadcn@latest add @chatcn-pro/thread-bump

Needs chatcn Pro

This command works with a Pro license, along with every Pro component.

Or start free: sign up and get three Pro components on us, with a new one every month.

Usage

tsx
import { ThreadBump } from "@/components/ui/chatcn/pro/thread-bump"

<ThreadBump threads={byLatestActivity} activeId={current} onSelect={open} />

Props

PropTypeNotes
threads{ id, title, preview?, time?, unread? }[]Newest activity first
activeIdstring
onSelect(id) => void

Accessibility

  • A list of buttons; the current thread has aria-current; unread threads are labelled.

Motion

  • Rows move from their old place: 520 ms for the one that rose, 380 ms for the rest. Reduced motion: they swap.