Internal product
Mobile Preview Simulator
Preview responsive mobile screens directly inside VS Code.

Overview
Category
Internal product
Timeline
1 week
Services
VS Code extension development
Built a VS Code extension using the Webview API — embed a mobile-sized viewport directly in the editor sidebar. Keep it lightweight and require no configuration.
What we built
- Preview mobile layouts directly in VS Code
- Responsive testing without browser switching
- Clean embedded mobile simulator UI
- Fast workflow for frontend developers
- Lightweight and developer-focused experience
The challenge
Frontend developers switch between editor and browser to test responsive layouts. This project aimed to bring mobile preview directly into the editor to reduce that context switching.
The solution
A VS Code extension that renders a mobile device frame inside the editor sidebar. Developers configure viewport dimensions, and the extension displays a live preview of their web content at mobile sizes. The extension uses VS Code's Webview API to create an isolated browser context within the editor.
How we built it
Step 1
The extension uses the VS Code Webview API to render the mobile preview inside the editor sidebar
No configuration required
extension works with sensible mobile defaults out of the box
Step 3
Lightweight architecture with no heavy dependencies
Viewport controls live in the sidebar
developers resize without leaving their code
Results
1,000+
Installs
VS Code Marketplace
Technology
If this looks like what you need…
Explore Custom Software Development