utility kayoh.dev

Responsive Grid

a Firefox add-on · responsive layout preview - one page at several widths in one tab
version 1.0.0 · MIT · requires Firefox 142 or newer

01What it does

Compare one page at several viewport widths side by side in a single tab. Each frame uses an exact width, so media queries and layout breakpoints behave like they do on the device.

Responsive Grid showing the same page at 375, 820, and 1280 pixel widths
The same page at 375, 820, and 1280 pixels, side by side in one tab.
  • Start from Firefox's responsive mode device list, or add a custom width.
  • Drag frames anywhere on the canvas, overlap them, and grab one to raise it.
  • Fit the canvas to the window. The viewport widths stay real.
  • Keep scroll positions aligned by proportion across frames.
  • Navigate every frame when one of them changes route.
  • Frame sizes, positions, and toggles persist between sessions.

02Install

  1. Add Responsive Grid from addons.mozilla.org.
  2. Click the toolbar icon and choose Open grid in tab.
  3. Pick device widths or add a custom width.

Requires Firefox 142 or newer. To run it from source, see the repository README.

03Source and contributions

Responsive Grid is MIT licensed. The source, issues, and pull requests live on GitHub.

github.com/MrOpperman/responsive-grid

04Limits

  • The page must allow framing. X-Frame-Options and CSP can block it.
  • Widths are real, but user agent, device pixel ratio, and touch are not emulated.
  • Each frame is a separate page load.
  • For device emulation, use Firefox's Responsive Design Mode.
utility · kyle opperman firefox add-on