Template
A utility component that renders children into an HTML string inside a template tag.
The content below is rendered inside a <template> tag and won't be visible. Inspect the DOM to see it.
This is hidden content
It exists in the DOM but is not rendered.
<Template /> rendered here
Installation
Usage
import { Template } from "@/components/Template"
<Template>
<div>Content to be templated</div>
</Template>API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
children | ReactNode | - | Content to render inside the template. |