use-idle-detect
`useIdle` is a React hook that detects user inactivity using a customizable timeout. It supports event tracking (e.g., mouse, keyboard) and the Idle Detection API if available, with optional callbacks for idle and active states.
- 9
- TypeScript
- 12 d ago