The main or core Realm framework is the custom element definition tag. It is used to define a custom element without using JavaScript customElements.define()
and the complexity. The template
tag is required to render the custom element’s content.
<custom-element name="my-element">
<template>
<h1>Hello World</h1>
</template>
</custom-element>