A Chrome extension that displays viewport information in real-time.
- Real-time viewport size, type, orientation, and Bootstrap breakpoints
- Toggle enable/disable from toolbar popup
- Configurable position: Top Right, Top Left, Bottom Right, Bottom Left, Top Navbar
- Sticky pin feature
- Clone from [github.com/HouseOfAgile/viewport-snap](#)
- Open Chrome and go to
chrome://extensions/
- Enable "Developer mode" in the top right
- Click "Load unpacked" and select the extension folder
- The extension icon should appear in your toolbar
- Click the toolbar icon to open the control popup
- Toggle enable/disable and select position
- Real-time viewport dimensions
- Device type detection based on viewport width:
- Mobile: ≤ 480px
- Tablet: ≤ 768px
- Desktop: > 768px
- Orientation detection (Landscape/Portrait)
- The extension requires permission to access the active tab
- No external dependencies required
- Simple, clean UI
To modify the extension:
- Edit the source files
- Go to
chrome://extensions/
- Click the refresh button on the extension card to reload
- Includes Bootstrap Icons (v1.11.3) locally for position icons
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.