Layout / The visual dictionary

Viewport.

The visible region through which content is presented.

Also calledviewable areascreen viewport
01

See it in context

UI illustration
Visible viewport

The visible region through which content is presented. Size layouts against the available viewing area and account for changes caused by browser or system controls.

When to use it

Use viewport dimensions to reason about what is currently visible.

Know the difference

The viewport is the viewing window; the full document may extend well beyond it.

WebiOSiPadOSAndroidmacOSWindowsLinuxwatchOSWear OStvOSAndroid TVvisionOS

Web · iOS · iPadOS · Android · macOS · Windows · Linux · watchOS · Wear OS · tvOS · Android TV · visionOS

Mobile browser chrome can change viewport height; desktop windows can resize without changing the monitor.

Primary documentation for the pattern and its platform conventions.