Skip to content
Sign upGet access
MicrointeractionsModel dividerMenu

Model divider (Pro)

ProIncluded in $99

Where a thread changed hands: a rule draws out and the new model's name slides in beside the old.

ProSwitching models mid thread draws a rule out from the middle; the old name opens on it, stretches, and the new name slides in beside it as the old one steps back.

When you switch models mid conversation, a rule draws out from the middle of the thread and the old model's name opens on it. Then the label stretches, an arrow draws, and the new name slides in beside the old one, which steps back. Scrolling back later, you can see which answers came from which model.

Installation

$ pnpm dlx shadcn@latest add @chatcn-pro/model-divider

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 { ModelDivider } from "@/components/ui/chatcn/pro/model-divider"

<ModelDivider from="Opus 5.5" to="Haiku 5.5" note="context kept" />

Props

PropTypeNotes
from / tostringThe models
notestringA quiet note after the names
animatebooleanDefault true; false renders it settled, for history

Accessibility

  • A role="separator" labelled Switched from one model to the other.

Motion

  • Rules draw 520 ms; the label stretches 420 ms and the new name arrives at 820 ms. Reduced motion: it renders settled.