web-features explorer

Shadow DOM

Widely available since 2022-07-15 (baseline high)

Shadow DOM allows you to attach encapsulated "shadow" DOM trees to elements. A shadow DOM tree is a separate component, isolated from the scripts and styles in other parts of the document. This is a part of Web Components.

Compatibility (view on caniuse.com)

BCD data