SupremeTechnopriest/react-idle-timer
User activity timer component observed · 2026-08-28
Health v2 · maintenance only
56/100
- Activity 73
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4086
- days_rel: n/a
- days_push: 166
- n_releases_24m: 0
Adoption not part of the score
1205 stars · 144 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
React Idle Timer is a React hook and component for detecting user activity and idle states in web applications. It provides configurable idle timeouts, debounced or throttled activity callbacks, a built-in 'are you still there' confirm prompt, cross-tab synchronization via BroadcastChannel, and WebWorker-offloaded timers to avoid background tab throttling.
Use cases
- log out inactive users in a react app
- detect when a user goes idle and becomes active again
- show an 'are you still there' prompt with a countdown before session timeout
- sync idle state across multiple browser tabs
- track and react to user activity events like mouse and keyboard input
- keep timers accurate when the tab is in the background
When to choose
- you are building a React app and need reliable idle/active presence detection
- you need cross-tab or multi-window synchronization with leader election
- you want a built-in confirm prompt flow before firing the idle event
- you need a battle-tested solution with high download volume, full test coverage, and TypeScript support
When to avoid
- your project is not React-based (e.g., Vue, Angular, vanilla JS) since the API is React-specific
- you only need a simple one-tab timeout that a plain setTimeout with event listeners can cover
- you need idle detection on a server or in non-browser environments
Facets
library · maturity stable
ui-components state-management frontend web-development browser react react-hook idle-detection activity-detection timer cross-tab web-worker user-presence session-timeout typescript confirm-prompt broadcast-channel
7 sources
- readme: https://github.com/SupremeTechnopriest/react-idle-timer · fetched 2026-08-28 · f355ae4a7ce8
- homepage: https://idletimer.dev · fetched 2026-08-29 · c8a817642e5c
- site_page: https://idletimer.dev/docs/getting-started/new · fetched 2026-08-29 · 4925569313b1
- site_page: https://idletimer.dev/docs/features/idle-detection · fetched 2026-08-29 · 0b60747ad20a
- site_page: https://idletimer.dev/docs/features/activity-detection · fetched 2026-08-29 · 6971617e3724
- site_page: https://idletimer.dev/docs/features/confirm-prompt · fetched 2026-08-29 · 1cd48c14342f
- site_page: https://idletimer.dev/docs/features/cross-tab · fetched 2026-08-29 · c0fb47dc5dd3
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| SupremeTechnopriest/react-idle-timer | main | 56 |
For agents
markdown · JSON · MCP: product_card(name="SupremeTechnopriest/react-idle-timer")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem