Skip to content

Opening the widget

There are multiple ways to open the Capture widget depending on what works best for your workflow.

Keyboard shortcut

The Capture widget is always accessible via keyboard shortcut from anywhere on your site:

  • Windows: Ctrl + Alt + 1
  • Mac: Cmd + Option + 1

Download a reminder card to share with your team.

Custom trigger button

Attach the widget to any clickable element on your page using the data-capture-trigger attribute:

html
<button data-capture-trigger>Report a bug</button>
<a href="#" data-capture-trigger>Found an issue?</a>

This works on any element that can receive mouse events.

Via URL parameter

Automatically open the widget when someone visits your site by adding ?capture=true to any URL:

https://example.com/dashboard?capture=true

The widget will stay open as users navigate your site until they manually close it or create a bug report. This is particularly useful when requesting bug reports from customers - just send them a link with the parameter included.

Programmatically

Open the widget directly in JavaScript:

javascript
Capture.open();

This is useful for triggering bug reports from custom UI elements or in response to specific user actions.

Next steps

Once the widget opens, users can create a bug report with a screenshot or screen recording. See Creating a capture to learn about the capture process.

Want bug reports to automatically sync to Linear, Jira, Slack, or other tools? Check out Connecting integrations to route reports directly into your existing workflow.