Pulse Dots
betaA typing indicator of three dots that swell and fade in sequence.
- Feedback
- 1 file
- 1 npm package
- Accessibility notes
Loading the example…
pnpm dlx @dowel-ui/cli add pulse-dotsnpm packages installed: class-variance-authority.
import { PulseDots } from "@/components/ui/pulse-dots";Default
Demo
In ABubble
<PulseDots>
| Prop | Type | Default |
|---|---|---|
countHow many dots. Defaults to three. | number | 3 |
labelAnnounced to assistive technology. Defaults to "Typing". | string | "Typing" |
size | "sm" | "md" | "lg" | "md" |
Plus every attribute of <span> except children.
The root is role="status" with a visually hidden label ("Typing" by default, set with `label`), so it is announced once when it appears; the dots are aria-hidden. It is an indicator, marked data-motion="indicator": under reduced motion it slows to half speed rather than freezing, because a still typing indicator reads as a dropped connection. The wave never mirrors in right-to-left layouts.
7/7
checks passed
- Tested — passes
- axe assertion — passes
- Keyboard tested — does not apply
- Storybook examples — passes
- Accessibility documented — passes
- Semantic tokens only — passes
- Motion from tokens — does not apply
- className merged — passes
- Visible focus — does not apply
- No fixed widths — passes