Skip to content

Instantly share code, notes, and snippets.

@aswnss-m
Last active March 17, 2026 21:09
Show Gist options
  • Select an option

  • Save aswnss-m/cf23b98a47fc27bbf840ebf83b8516e3 to your computer and use it in GitHub Desktop.

Select an option

Save aswnss-m/cf23b98a47fc27bbf840ebf83b8516e3 to your computer and use it in GitHub Desktop.
Iphone Screen Resolutions & Viewport Sizes (2025-2026)
const Iphone = {
"17 pro max": {
width: 1320,
height: 2868,
},
"17 pro": {
width: 1206,
height: 2622,
},
"17": {
width: 1206,
height: 2622,
},
"air": {
width: 1260,
height: 2736,
},
"16 pro max": {
width: 1320,
height: 2868,
},
"16 pro": {
width: 1206,
height: 2622,
},
"16 plus": {
width: 1290,
height: 2796,
},
"16": {
width: 1179,
height: 2556,
},
"16e": {
width: 1170,
height: 2532,
},
"15 pro max": {
width: 1290,
height: 2796,
},
"15 pro": {
width: 1179,
height: 2556,
},
"15 plus": {
width: 1290,
height: 2796,
},
"15": {
width: 1179,
height: 2556,
},
"14 pro max": {
width: 1290,
height: 2796,
},
"14 pro": {
width: 1179,
height: 2556,
},
"14 plus": {
width: 1284,
height: 2778,
},
"14": {
width: 1170,
height: 2532,
},
"13 pro max": {
width: 1284,
height: 2778,
},
"13 pro": {
width: 1170,
height: 2532,
},
"13": {
width: 1170,
height: 2532,
},
"13 mini": {
width: 1125,
height: 2436,
},
"12 pro max": {
width: 1284,
height: 2778,
},
"12 pro": {
width: 1170,
height: 2532,
},
"12": {
width: 1170,
height: 2532,
},
"12 mini": {
width: 1125,
height: 2436,
},
"se 4.7-inch": {
width: 750,
height: 1334,
},
"se 4-inch": {
width: 640,
height: 1136,
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment