Live KPI Strip
Tickers are the right primitive for a "live data" header — denser than stat cards, designed for quick scanning. Pair them with Livewire's wire:poll for periodic auto-refresh.
Recipe
Heads up — the preview above is real: it's a Livewire component with wire:poll.1s, jittering its dummy values every second so you can see the strip update without leaving the page open. Production cadence is almost always slower — the Show Code panel above carries the canonical .30s baseline for marketing dashboards. The Variations section below lists faster / slower presets for trading or analytics workloads.
Variations
- Polling interval: Change
wire:poll.30sto match data freshness needs (.5sfor trading dashboards,.5mfor marketing analytics). - Pause out of view:
wire:poll.30s.skips a refresh while the strip is scrolled out of the viewport, which saves requests on a long page. A tab in the background already sends only about one refresh in twenty;visible .keep-alivesends every one. - Sparkline overlay: For high-attention metrics, swap one or two tickers for
<x-wirekit::cards withstat> sparklineslots (see Stat with Sparkline).
Components Used
See Also
- Ticker component docs
- Stat with Sparkline recipe — denser variant with trend visualization