ResView – Responsive Design Tester
FeaturesLive Responsive PreviewLoad any local dev server or public URL directly inside your editor and see how your layout behaves across different screen sizes — no external browser required. Accurate Device ViewportsEvery device uses its real CSS viewport dimensions (logical pixels), not arbitrary guesses. Viewport sizes are derived from the device's physical resolution divided by its device pixel ratio. Portrait & Landscape ToggleInstantly flip between portrait and landscape orientation for any phone or tablet with a single click or the rotate button. Auto Dev-Server DetectionResView scans for running local development servers on startup and shows them as clickable chips — just click to load instantly. Supports Next.js, React, Vite, Angular, Vue, Svelte, Flask, Django, and more. Re-scan at any time with the refresh button. ResView also polls for new servers every 3 seconds while the panel is open. If you start a dev server after opening the panel (e.g. Collapsible URL BarClick the URL button in the toolbar to collapse the address bar and free up vertical space. When collapsed, a hint line shows the currently loaded URL so you always know what's being previewed. Click again to expand. Device Info PopupClick or hover over the ⓘ button (between the device controls and the zoom slider) to open a popup showing the selected device's name, year, category, portrait and landscape dimensions, and PPI. Live Server Quick-AccessA dedicated ⚡ Live Server :5500 button is always visible in the toolbar, giving you instant one-click access to the VS Code Live Server extension without having to type the address manually. Zoom ControlScale the preview from 25 % to 150 % to fit the device preview into your available space. The dimension badge always shows the true CSS pixel size regardless of zoom level. Custom DevicesAdd your own devices with fully configurable viewport size, category, PPI, and year. Custom devices persist across sessions and are grouped separately in the device list. Grid OverlayToggle a pixel grid over the preview with the Grid button. Choose from six cell sizes — 4 · 8 · 16 · 24 · 32 · 64 px — via the adjacent dropdown. Useful for checking alignment, spacing, and layout consistency. Pixel RulerToggle horizontal and vertical rulers with the Ruler button. Rulers appear outside the visible content area (in the device bezel) and show real CSS pixel coordinates starting at 0. They update automatically on device switch, rotation, and zoom change. Inspector Mode (localhost only)Activate the Inspect button to enter element inspection mode. ResView starts a local HTTP proxy that injects an inspector script into every page response. Hovering over elements shows:
CSS source detection works for external stylesheets, Vite/React CSS imports ( Hot Reload support: CSS and JS changes made in your editor are picked up instantly in the preview — no need to toggle Inspector off and on. The proxy forwards Vite's HMR WebSocket connection transparently.
Open in BrowserThe ↗ button next to the address bar opens the current URL directly in your default system browser. Supported DevicesiPhones
Android Phones
iPads
Android Tablets
Desktop Breakpoints
Getting Started1. Open the PreviewThree ways to open ResView:
2. Enter a URLType any URL into the address bar and press Go or 3. Pick a DeviceUse the Phone / Tablet / Desktop tabs to switch categories, then choose a device from the dropdown. The preview resizes immediately. 4. Toggle OrientationClick the ↕ / ↔ button to switch between portrait and landscape mode. Not available for desktop breakpoints. 5. Adjust ZoomDrag the zoom slider (25 %–150 %) to fit the device preview into your available screen space. The dimension badge at the bottom always shows the actual CSS viewport size. Developer ToolsGrid OverlayClick Grid in the toolbar to overlay a pixel grid on the preview. Use the adjacent dropdown to choose the cell size:
RulerClick Ruler to show horizontal and vertical pixel rulers alongside the device frame. Rulers display real CSS pixel coordinates (0 → device width/height) and never overlap the visible content. Inspector ModeClick Inspect to activate element inspection (requires a running localhost server). Hover over any element in the preview to see:
Hot Reload: Changes to CSS or JS files in your editor appear immediately in the preview — Vite's HMR WebSocket is tunnelled through the proxy so the connection is never interrupted. Click Inspect again to exit inspection mode and return to the normal preview. Custom DevicesYou can add any device that isn't in the built-in list.
Your custom devices appear under the ★ Custom group in the dropdown and are marked with a To delete a custom device, select it in the dropdown — a 🗑 delete button will appear next to the + button.
Commands
Keyboard Shortcuts
SettingsConfigure ResView via File → Preferences → Settings (or the equivalent in your editor) and search for
How Device Viewports WorkResView uses CSS viewport dimensions (logical pixels), which is what your CSS
This means a site that looks correct at CompatibilityResView is built on the VS Code Extension API and runs in any editor that supports it:
Any other editor that supports VS Code extensions ( Requirements
LicenseMIT |