Skip to content
JS
Package

react-device-detect

Detect device type and render your component according to it

v2.2.3, 8 Feb 2023MIT-Types: -
$ npm install react-device-detect

Key numbers

As of 25 Sept 2026
Weekly downloads
1.6m
+67% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
3 years ago
v2.2.3
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
01m2m3mSept 2025Mar 2026Sept 2026High 2.2m (21 Jul 2026)Low 576.5k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

1,609,505 downloads last week, 7,847,472 in the last month. The 12-month change of +67% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
042 in total
Latest version
2.2.3, 8 Feb 20233 years ago
First published
17 Oct 2017
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
1,289

Major versions

  1. v2 first release 2.0.0, 26 Sept 2021
  2. v1 first release 1.0.0, 25 Mar 2018
  3. v0 first release 0.1.0, 17 Oct 2017

Recent releases

VersionPublished
2.2.38 Feb 2023
2.2.210 Apr 2022
2.1.225 Oct 2021
2.1.122 Oct 2021
2.0.14 Oct 2021
2.0.026 Sept 2021
1.17.011 Mar 2021
1.16.011 Mar 2021
1.15.022 Dec 2020
1.14.05 Oct 2020
1.13.115 Jun 2020
1.12.128 Apr 2020
1.12.025 Apr 2020
1.11.1428 Nov 2019
Module format
-Not determined from package.json
TypeScript types
-
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
-
Dependencies (0)
None
npm install react-device-detect
  • jsDelivrhttps://cdn.jsdelivr.net/npm/react-device-detect@2.2.3/
  • unpkghttps://unpkg.com/react-device-detect@2.2.3/
  • esm.shhttps://esm.sh/react-device-detect@2.2.3
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): completeness 0.5 < 0.6 (missing: github_owner, stars, module_type, category); GitHub data not fetched yet; no category.