Most developers install a library as soon as they need something more than a basic button or input.

But browsers can do much more than most people realise. Many features that once required JavaScript libraries, like dialogs, popovers, color pickers, smooth scrolling, clipboard access, sharing, and speech recognition, are now built into the browser.

In this article, I’ll share 22 browser native features that can help you write less code and rely on fewer libraries.

Let’s jump right into it!

1. Native Dialog