Stop writing JavaScript for things HTML already handles
You probably don't need a heavy JavaScript library for popovers, accordions, or modal dialogs anymore.
Developer Chris Burnell built a showcase highlighting interactive web features that now run on plain HTML. Attributes like popover, grouped <details> elements for accordions, and command triggers allow you to toggle dialogs and manage overlays without writing custom scripts.
Why it matters: Browsers have quietly adopted standard UI patterns that used to require third-party npm packages. Relying on native HTML primitives means smaller bundles, faster page loads, and fewer dependencies to maintain.
Know this: don't ditch all your scripts just yet. Burnell noted in an update to the project that browser styling and accessibility support for newer attributes—like hidden="until-found" or native color pickers—can still be patchy.
Before you npm install another component library, check if the browser already does it for free.
Sources
- HTML Can Do That — https://chrisburnell.com/html-can-do-that/
- Hacker News Discussion — https://news.ycombinator.com/item?id=49362689

