🏠 New in Low Baseline Support: Declarative shadow DOM

February 20, 2024

caniuse · mdn · spec

The shadowrootmode attribute on <template> creates a shadow root without the use of JavaScript. It is a declarative alternative to the attachShadow() method.

Source features