A heading which can be used to title or separate sections of a layout.
heading {
text = "Money for here, there and everywhere"
}| Property | Type | Required | Description |
|---|---|---|---|
align | Align | No | The horizontal alignment of the text. Defaults to left. |
analyticsId | String | No | An optional identifier to be used in analytics tracking. |
control | String | No | Specify a particular control to use to represent the layout. If the control is unknown, it will be ignored. |
margin | Size | No | The vertical margin to apply after this component. Defaults to md. |
size | Size | No | The size of the content. Defaults to md. |
| Array<String> | No | An optional list of identifiers used to configure renderers.
|
text | String | Yes | The user-facing content of the heading. |
type | String | Yes | It must be heading. |
display
Large, prominent heading using the Wise Sans display font for high-impact moments (e.g. a user's name on a profile screen, a headline on a splash screen). Use for headings that should draw immediate attention, not for regular section titles.
heading {
text = "Whoa, that was fast!"
control = "display"
}