Tear live UI out of any webpage into an always-on-top floating widget. Hold Alt to pick an element. Click or drag it off-screen to "tear it away". With Chrome 116+ this uses the Document Picture-in-Picture API, so the result can stay live (and in safe mode it stays reliable).
Developers constantly copy UI while iterating on components (localhost changes, styling tweaks, debugging, UI extraction). TearAway is designed to become the "go-to" workflow tool for moving UI blocks between your browser and your editor/design stack.
- (Optional) Generate icons (only once):
node scripts/generate-icons.mjs
- Open
chrome://extensions - Enable Developer mode
- Click Load unpacked
- Select the
extensionfolder
- Click the TearAway extension icon
- Click Open demo page
- Hold Alt and click the card "Live ticker (tear this)"
- Prices should keep updating inside the floating widget.
- Alt: tear (default = live move)
- Alt + Shift: tear in safe mode
- The original DOM node stays in place (frameworks remain stable)
- The floating widget shows a clone
- Alt + drag: same tear behavior, using a drag gesture
You can manage the torn widget from:
- the PiP action bar inside the floating window, and/or
- the on-page tray ("TearAway · Active") bottom-left. Available actions:
- Restore: put the element back (or unhide it in safe mode)
- PNG: download a cropped PNG (see below)
- Selector: copies a CSS selector for the original element
- HTML: copies
outerHTML
Content script adds picker, highlight overlay, placeholder & tray Opens Document PiP window with copied styles + live element or clone Background service worker handles screenshots & clipboard
PNG fallback does not capture background images or gradients Some sites may restrict PiP behavior SVG export is planned
MIT.
