---
sidebar_label: Device.viewport
# Device.viewport property
**Signature:**
```typescript
interface Device {
viewport: {
width: number;
height: number;
deviceScaleFactor: number;
isMobile: boolean;
hasTouch: boolean;
isLandscape: boolean;
};
}
```