1 slot open this monthBy the makers of shadcnregistryWe built shadcnregistry. Now we build your product.Book a callCheck availability
1 slot open this monthAI features?We build AI features into your product.Book a callCheck availability
1 slot open this month๐Ÿšจ Slop police๐Ÿšจ Slop police: we clean up vibe-coded apps.Report itReport your app
shadcnregistry
shadcnregistry
RegistryHealthInspect
Terms of ServicePrivacy Policy
  1. Registries
  2. mangacn
  3. Typing Bubble

Typing Bubble

component

A speech or thought bubble (the kit SpeechBubble) that first shows three small ink squares rising one after another at 12 fps (waiting), then writes its text a few characters per frame with a stepped block caret. The whole text is laid out from the start (the rest is invisible), so the bubble never reflows. Text that grows over time (streamed answers) types on from where it stopped, never from zero. The typed text is aria-hidden; a visually hidden copy is announced once, complete, through aria-live="polite"; the dots are role="status" with aria-label="Typing". Reduced motion: still dots, the text at once. Gestures: G6 bubble, G7 waiting.

pnpm dlx shadcn@latest add "https://mangacn.romain-sonnet.fr/r/typing-bubble.json"
Premium blocks for shadcn/uiShadcnblocks.com ยท AffiliateExplore
  • cn
@components/manga/typing-bubble.tsx