← API demos

Bring your own camera / mount point

scan({ video, signal }) uses your element and your AbortController; scan({ into }) mounts the built-in dialog in a card instead of document.body.

scan({ video, signal })

Your <video>, your stop button. One scan at a time.

scan({ into })

The same dialog the default scan() opens, mounted inside this card.