Skip to content

HTML Field

The HTML field type renders static markup inside the form grid. Use it to display headings, paragraphs, or custom React components (via MDX) without breaking the layout.

fields: {
header: {
type: "html",
html: "<h2 class='text-xl font-bold'>Personal Info</h2>",
colSpan: { default: 2 }
}
}

No validation or interactivity is applied. Ensure any dynamic content is sanitized to avoid XSS.