Component packs › Presence › Typing Presence
Each typist's keystrokes tick onto a strip in their colour, so you see the real rhythm of their typing, pauses included, until they stop.
Typing Presence is a typing indicator from Presence, a component pack with 6 collaboration components: Real-time collaboration UI that looks live: one shared room drives every cursor, face and highlight. Price: $2 for the whole pack.
Built with: keystroke rhythm, auto stop after silence, aria-live.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
| Prop | Type | Default | Description |
|---|---|---|---|
simulate | boolean | true | Follow the page's demo room. Default true. Set false and call key(person) on each keystroke you receive. |
label | string | ||
placeholder | string | ||
dark | boolean |
key(p: ZgPerson): void: Someone pressed a key (call it from your socket handler).stop(id: string): void: Someone stopped typing.destroy(): voidimport TypingPresence from './TypingPresence';
<TypingPresence />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Collaboration and calls.