DEV Community

Discussion on: Which elements support shadow DOM?

Collapse
uppercod profile image
Matias Trujillo

Hi!, the shadow-dom is amazing, what do you think of implementing it directly in component libraries?... is what I did with orby, by using the scoped property the style and the nodes of the rest of the tree are protected.

scoped-tree

Collapse
robdodson profile image
Rob Dodson Author

Yep I think it's great when components use shadow dom to encapsulate their styles!