WebUSB API 'connect/disconnect' Demo

This demo uses the WebUSB API, an experimental API with very limited support. It also doesn't appear to be supported on CodePen per the site's Feature Policy. You'll have to run this demo locally, or simply use the demo buttons to see the 'connect' and 'disconnect' animations.

In supported environments, the browser needs to request permission to interact with a device the first time:

Or just use these demo buttons to view the 'connect' and 'disconnect' animations:

Not Connected