Realtime visitors
Who is on the site right now: a count that rolls digit by digit, a dotted world that pings where each visitor arrives, and the pages being read, ranked, with rows that glide to their new place when the order changes.
Visitors right now
110 visitors in the last 5 minutes
Active pagesReaders
- /31 readers, Home
- /pricing24 readers, Pricing
- /docs/getting-started18 readers, Getting started
- /blog/quieter-dashboards12 readers, Quieter dashboards
- /docs/api/webhooks9 readers, Webhooks
- /changelog8 readers, Changelog
- /signup6 readers, Create an account
When to use
- The live view of a web or product analytics tool.
- A launch-day or incident screen where the next few minutes matter.
When not to use
- Totals for a past period; use top pages or a KPI row.
- Exact geography; the map is a 2.5° dot grid, good for a region, not a street.
Installation
pnpm dlx shadcn@latest add @caliper/realtime-visitors
Adds its 40 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.
API reference
RealtimeVisitors
12 props
Keyboard
- Enter or Space
- Opens the menu from its trigger and activates the focused item.
- ↓ or ↑
- Moves between items, wrapping at the ends; disabled items are skipped.
- → or ←
- Opens and closes a submenu.
- Escape
- Closes the menu and returns focus to the trigger.
- A–Z
- Moves to the next item that starts with that letter.
Accessibility
It exposes alert and status semantics, with aria-labelledby, aria-busy, aria-hidden and aria-pressed kept in step with state. Changes that matter are announced through a live region.
Notes for AI
Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.
/docs/components/realtime-visitors.mdThe index of every part is at /llms.txt.