KQ-538 · TYPING/PILL
Typing Pill
A typing indicator whose pill lands on recoil — the two visible bounces of something arriving in a conversation — and leaves on the exit ease, because a departure should not celebrate itself. The three dots run one snap between two keyframes, reversed and repeated, each started a phase later than the last, so they are never at the same height at once. A polite live region holds only the caption, so a screen reader hears each change exactly once.
KQ-538 · TYPING/PILL
AnaThe Coldbrook run sheet is on the board.
Ana is typing
Ana is typing
Install
One command — the source lands in your repo. Or copy it from the Code tab.
$ pnpm dlx shadcn@latest add @kinetiq/typing-pill
Props
- names
- string[]
- default —
- Who is typing, in the order they started. An empty array hides the pill and clears the announcement.
- max
- number
- default 1
- Names spelled out before the caption falls back to "and N others".
| Prop | Type | Default | Description |
|---|---|---|---|
| names | string[] | — | Who is typing, in the order they started. An empty array hides the pill and clears the announcement. |
| max | number | 1 | Names spelled out before the caption falls back to "and N others". |