Skip to main content
VelinStyle v0.8.0
⌂ Home
  1. Docs
  2. Components
  3. Live dot

Live dot

The <velin-live-dot> Web Component renders a tiny status dot with a concentric pulse animation. Pair it with realtime feeds, websocket counters, or "online" indicators next to user names.

Basic

Realtime feed Lag detected Disconnected Paused
<velin-live-dot status="live">Realtime feed</velin-live-dot>
<velin-live-dot status="warning">Lag detected</velin-live-dot>
<velin-live-dot status="error">Disconnected</velin-live-dot>
<velin-live-dot status="paused" pulse="false">Paused</velin-live-dot>

Attributes

AttributeDefaultNotes
statuslivelive / paused / warning / error / muted
pulsetruefalse disables the looped ring

Styling

The component uses the --velin-live-color custom property to colour the dot. Override per instance:

<velin-live-dot style="--velin-live-color: hotpink">Custom</velin-live-dot>

Accessibility