aiellie

Search

Find a component, template or page

GitHub
Components

Thread

The scrolling part of a conversation, on shadcn's message scroller. It anchors each new turn near the top, follows a streaming reply only while you are at the end, opens a saved chat at its last turn, and keeps your place when older messages load.

Why does my chart overflow on phones?

The chart has a fixed width of 640px, wider than the card on a phone. Size it from its container instead:

css
.card { container-type: inline-size; }.chart { width: 100cqi; }

Now it fills the card at every size.

Does that work in every browser?

Yes. Container queries have worked in every major browser since 2023, so you can use them without a fallback.

Open full screen
fig. 01 · open it full screen from the corner

Installation

npx shadcn@latest add "@aiellie/thread"

shadcn needs the @aiellie registry in components.json first. npx aiellie add thread adds it on its first run, then installs the same way.

The rest of the docs for Thread are still being written.