Skip to contentSkip to footer

Device presets

Polypane comes with a list of pane presets in four different categories: Mobile, Tablet, Desktop and Other.

We keep this list up to date with popular iOS and Android devices and add new devices as they become available. If you have requests, let us know

Custom device presets

To use a custom preset list, save a file called pane-sizes (no extension) in this directory:

  • Windows: %APPDATA%/Polypane/
  • macOS: ~/Library/Application Support/Polypane/
  • Linux: ~/.config/Polypane/

An example file can be found here: pane-sizes. In this file you can add, remove or rename categories and presets. You can add as many groups as you want (so you could split 'Mobile' into 'iOS' and 'Android' if you wanted to). Each group has a array of children, which have the following properties:

  • key (the name)
  • width
  • height
  • zoom (optional)
  • screenType (Can be either "desktop" or "mobile")
  • pixelRatio (The device pixel ratio)
  • userAgent (the prefered user agent)
  • viewport
    • portrait
      • width
      • height
    • landscape
      • width
      • height

The boolean supportsOrientation on a category determines if orientation should be taken into account for this category.

A future version of Polypane will provide a UI to manage device presets.


Have a question about Polypane?

Contact us any time though chat, Slack or our contact form:

Contact Support

Build your next project with Polypane

  • Use all features on all plans
  • On Mac, Window and Linux
  • 14-day free trial – no credit card needed
Try for free
Polypane screenshot