Mobile Preview Simulator
Mobile Preview Simulator is a VS Code extension that opens your local web app inside a polished mobile device preview next to your code. It is built for quick frontend checks while you work, so you can keep editing in the main editor and see the result in a realistic phone or tablet frame beside it. PreviewMobile Preview in Action
What The Extension DoesThis extension helps you preview a local website or app in a mobile-sized webview directly inside VS Code. It opens a side preview with:
The default preview target is How It WorksWhen you open the preview, the extension creates a VS Code webview panel beside the editor. Inside that panel, it renders:
You can switch between multiple device sizes to quickly check layout behavior without leaving VS Code. Supported Device GroupsThe extension currently includes device presets from:
It also includes both phone and tablet layouts. Open The PreviewYou can open the preview in two easy ways:
After clicking the shortcut, the mobile preview opens in a side panel beside your current file. Typical Workflow
Best Use CasesMobile Preview Simulator is useful when you want to:
Notes
Extension SummaryIn short, this extension gives you an in-editor mobile simulator for local web development. Open your app, click the preview shortcut, and you can inspect your UI in a mobile frame without leaving VS Code. |