Custom Element to create Shadow DOM in a declarative manner
<anyelement>
<template is="declarative-shadow-dom">
Shadow Content here
<slot></slot>
</template>
Light DOM content here
</anyelement>
For more check the Declarative Shadow DOM Spec proposal and README.md