components / live-badge

live-badge.

"happening right now" — a pulsing dot, a word, and an optional detail. badge says what a thing is; this says what it is doing at this second, across four fixed states, with role=status so going live is announced. the pulse is an expanding ring rather than a blinking dot, and drops out under reduced motion.

live· 12 listeningconnectingawayoffline
live· 3 listening
installation
bunx @justin06lee/chrome@latest add live-badge
props
nametypedefaultdescription
status'live' | 'connecting' | 'idle' | 'offline''live'
labelReactNode-overrides the default word for the status.
detailReactNode-appended after a middot — a listener count, a bitrate, a room name.
size'sm' | 'md''md'
accentstring'#fff'css color of the dot when live.
classNamestring-