Types
Every property and every expression has a type: color, length, or
brush.
The full Slint language has more types; this specification doesn’t cover them yet.
A color is a color with red, green, blue, and alpha channels.
The default color is transparent.
length
Section titled “length”A length is a distance.
The default length is zero.
A brush defines the content that an element is filled with.
The default brush is transparent.
Conversions
Section titled “Conversions”An expression whose type isn’t the type of the property only binds to it if one of the conversions in this section applies.
A color converts to a brush:
the brush that fills with that single color.
© 2026 SixtyFPS GmbH