Typography

Typography applies to components such as Text, Text Input, Styled Text Area, Button , etc. It is available in the Styles Panel.

349

Style

Font

Draftbit supports Google Fonts. You can select the font of the Text with any of the pre-defined Google Fonts from the Font Picker.

354

For each font, you can also select the available font-weight on each font.

350

You can find look for a complete list of fonts at fonts.google.com.

Color

Select the color of the Text.

Align

Set the Text alignment.

PropertyDescription
AutoDefault value. Aligns text in the context to the parent component.
LeftAligns text to the left
RightAligns text to the right
CenterAligns text in the center
JustifyAligns text so it is spaced to line up its left and right edges to the left and right edges of the line box, except for the last line

Transform

Transform the text.

PropertyDescription
CapitalizeCapitalizes the first letter of each word
UppercaseMakes all text uppercase
LowercaseMakes all text lowercase

Decoration

Line

PropertyDescription
UnderlineAdds a line under the text
Line-ThroughAdds a line through the text
Underline Line-ThroughAdds a line under the text and through the text

Color
Select the color of the line decoration. Applicable only when a Line property is selected.

Style
Set the style of the line decoration.

PropertyDescription
Solid Sets a solid line
Double Sets a double line
Dotted Sets a dotted line
Dashed Sets a dashed line