Learn how to build framework-agnostic, encapsulated UI components using native HTML Web Components, Shadow DOM, and HTML Templates.
Declarative Shadow DOM lets you server-render Web Components with encapsulated styles — no JavaScript needed for the initial paint. Supported in all major browsers.
The HTML Popover API lets you build dropdown menus, tooltips, and toast notifications with native HTML attributes. No JavaScript libraries, no z-index wars.
The Modal Nightmare Building a custom modal has historically been [...]
