npmjs.org : react-device-meta-hook
A lightweight React hook that detects the user's browser, operating system, device type (mobile, tablet, desktop), screen orientation, and resolution. It automatically adds meaningful CSS classes to the `<html>` element, enabling responsive design and con
Registry
- JSON
purl: pkg:npm/react-device-meta-hook
Keywords:
react
, hook
, device
, browser
, viewport
, responsive
, css
, react hook
, device detection
, user-agent
, html classes
, screen size
, orientation
, viewport units
, dvh
, svh
, lvh
, media query
, responsive design
, react-device-info
License: MIT
Latest release: 4 months ago
First release: 4 months ago
Downloads: 15 last month
Last synced: 1 day ago