# ShadowTemplate A component to aid creating ShadowDOM based components (when required), heavily inspired by the upcoming Declarative Shadow DOM spec, a new way to implement and use Shadow DOM directly in HTML. Instead of passing `shadowroot="open|closed"` as you would with Declarative Shadow DOM we have a `@shadowRoot` argument to which you would pass the actual Shadow DOM element (which itself either open or closed). You can get a reference to this by using the `{{attach-shadow}}` modifier. Additionally a `@styles` argument is made available for you to optionally pass completely isolated, scoped, constructable stylesheets to be used for the Shadow DOM tree (you can also continue to use `