hooks
use-screenshot
Captures a DOM node as a PNG data URL — uses html-to-image under the hood. Returns { capture, dataUrl }.
Loading…
Click Capture to screenshot the bordered region. The PNG renders below. (ClientOnly.)
Installation
import from @workspace/ui — module-owned, not registry-installable