devices-viewport-size
v1.0.4
Published
A list of common device viewport sizes
Downloads
25
Readme
devices-viewport-size
A list of common devices viewport size
Installation
npm i -S devices-viewport-size
Usage
import viewports from 'devices-viewport-size'
console.log(viewports['iPhone SE']) // { width: 375, height: 667 }
Devices
- Desktop
- Desktop Large
- iPhone SE
- iPhone XR
- iPhone 12 Pro
- Pixel 5
- Galaxy S8+
- Galaxy S20 Ultra
- Pixel 2 XL
- iPad Air
- iPad Mini
- Surface Pro 7
- Surface Duo
- Galaxy Fold
- Galaxy A51/71
- Nest Hub
- Nest Hub Max
You can add more devices by contributing.
LICENSE
MIT