heading
A title: larger, bold text for the top of a window or a section.
Syntax
Otter
create heading into name
Properties
Output
text text What the control shows
width number Width in pixels
height number Height in pixels
background color Background color: a name ("navy") or a hex value ("#2563eb")
foreground color Text color, written the same way
align word left, center or right (rows and columns also accept top, middle, bottom)
Example
Otter
create window into app
title of app is "Report"
create heading into title
text of title is "Monthly report"
create text into summary
text of summary is "Everything is on track."
put title in app
put summary in app
show app
Expected result
A window with "Monthly report" as a large bold title above one line of text.
text
card