HeadingElement: FormElementBase & {
    headingType: number;
    type: "heading";
}

An element to display a heading to the user.

The element must have an id property that contains a universally unique identifier (UUID). The identifier must be a Version 4 (V4) UUID and must conform to the formatting requirements defined in this RFC 9562 specification: https://www.rfc-editor.org/rfc/rfc9562.html

Type declaration

  • headingType: number

    Heading type will determine the size of the heading. The available heading types are the following (from largest to smallest):

    • 1 = Title
    • 2 = Large
    • 3 = Medium
    • 4 = Small
    • 5 = Normal
  • type: "heading"