Before you start
Who can use this feature
Users on any team or plan can use text properties.
Users with can edit access to a file can apply and adjust text properties.
Text is a crucial aspect of interface design. Everything from the placement to font choice, has a part to play.
Text properties allows you to control everything from the appearance and position of text, to resizing behavior and OpenType features.
In this article, we'll take you through all the properties available for text. As there are a number of properties available we've grouped them by location.
Text in the properties panel
Apply and adjust text properties in the Text section of the properties panel.
Use the annotated image below to identify each property in the properties panel. Click the link to learn more about each property.
- Click the icon to view, create and apply Text Styles
- Click the arrow to browse a list of web, local and shared fonts to find a typeface or font family
- Use the arrow to select a font style or weight
- Use the arrow to adjust the size of your text
- Adjust the vertical distance between lines of text using the line height field.
- Adjust the horizontal distance between letters with letter spacing
- Adjust the vertical distance between paragraphs with paragraph spacing.
- Select how text overflows or wraps with resizing behavior.
- Adjust the horizontal alignment of text within the text box.
- Adjust the vertical alignment of text within the text box.
- Click to open the type details menu and explore more text properties.
There are a few terms associated with a font:
- A typeface is a set of letterforms and glyphs with similar design features.
- A font is a file containing the visual details that make up the design of each glyph or letter in that typeface.
- A font family is the collection of styles that make up a typeface.For example: Helvetica, Times New Roman and Roboto are all font families.
Figma will use Roboto as the default font for new text layers. You can select another font family using the font picker. Click the arrow to explore styles for thee selected font.
A typeface can have any number of styles or weights. Every font family will come with its own selection of styles. Some of the styles for the Roboto font family are: thin, light, regular, and medium.
You can access weights once you select the font family. Adjust the font weight using the field directly below the font family.
- Click the arrow to explore styles for thee selected font.
- Use the keyboard shortcuts to increase and decrease the font weight.
- Mac: Hold down ⌥ Option ⌘ Command and < to increase or > to decrease.
- Windows: Hold down Ctrl Alt and < to increase or > to decrease.
Font size controls the scale of your text. Figma represents font size in density-independent pixels.
Adjust the font size using the field next to the font style. There are a few ways to adjust font size:
- Click the arrow to select a default font size.
- Enter your own number in the field.
- Use the keyboard shortcuts:
- Mac: Hold down Shift ⌘ Command and < to increase or > to decrease.
- Windows: Hold down Ctrl Shift and < to increase or > to decrease.
Figma represents text sizes in a few different ways.
If you're exporting your designs to PDF, Figma will render font size using traditional print points (pt).
Line height allows you to control the vertical distance between lines of text in a paragraph. This can help to balance designs and improve readability of your copy. This is the same as line spacing.
Small line heights can make text difficult to read. Large line heights can make text look messy and disjointed.
Use the field to adjust the vertical space between lines of text, or use the keyboard shortcuts:
- Mac: Hold down ⇧ Shift ⌥ Option and < to increase or > to decrease.
- Windows: Hold down Alt Shift and < to increase or > to decrease.
Figma allows you to set a fixed line height in pixels (px) or a line height that's a percentage of the font size (%).
Figma uses a font's intrinsic line height as the default value(Auto), which varies between typefaces. You can switch between fixed and percentage line heights and Figma will convert the value for you, to the nearest pixel.
Translating line height: The Inspect panel allows you to view your designs as code. Each platform has a different way of representing line height.
Figma includes the appropriate values and measurements for each platform, as well as alternative units of measurement.
Letter spacing lets you define the space between characters in a word, line, or paragraph. This can determine how easy your text is to read.
This is not to be confused with kerning, which refers to the process of adjusting space between individual characters in a typeface.
Adjust the letter spacing for an entire text layer, or a selection of text. To replicate kerning, place the cursor between two letters and adjust the letter spacing.
Use the field to adjust letter spacing for your selection, or use the keyboard shortcuts:
- Mac: Hold down ⌥ Option and < to increase or > to decrease.
- Windows: Hold down Alt and < to increase or > to decrease.
If you select text with different letter spacing values, Figma will scale the letter spacing proportionally.
Tip! Tracking describes the letter spacing process in pre-digital systems and is usually represented in pixels (px). Use this formula to convert tracking to letter spacing:
1000px tracking = 100% letter spacing = 1em letter-spacing (CSS)
Paragraph spacing lets you control the distance between paragraphs. This can increase or reduce the whitespace around text in your design. White space can help to focus the viewer's attention, as well as increase legibility and readability.
Figma represents paragraph in pixels (px). Enter a px value in the paragraph spacing field. Or hover above the icon and drag to decrease (left) or increase (right) the value.
Note: Figma will create a new paragraph when you use the Enter or Return keys. This is something to bear in mind if your text resizing is set to Auto Width.
The resizing property controls how a text layer shrinks or grows to accommodate its contents. There are three settings available:
- Auto Width: The width of the text layer will grow so that all the content fits within the layer's bounds. Figma will create new lines of text when you use the Return or Enter key.
- Auto Height: The height of the text layer will grow to fit its contents. Figma will wrap any lines that extend beyond the original width of the text layer to a new line.
- Fixed Size: Both the width and height of the text layer will stay the same, regardless of the layer's contents. Figma will wrap any additional text that extends beyond the layer's horizontal bounds. Text can still extend beyond the text layer's vertical bounds without clipping. This can make aligning this with other layers difficult.
Note: When you click in the canvas to create a text layer, Figma uses Auto Width. If you click and drag in the canvas, Figma will use Fixed Size. If you adjust the size of a text layer after it is created, Figma updates the resizing to Fixed Size.
Alignment determines how we distribute text within its bounding box. Horizontal alignment defines how you align the text along the x axis (horizontal).
Left-aligned text is commonly used for paragraph text. Whereas center-aligned text is often used for shorter lines of text, like headings.
Use the icons to select the horizontal alignment. Choose from:
Justify aligns the first word in each line of text to the left-most edge, and the last to the right-most edge. Figma spaces each word in a line of justified text uniformly.
Alignment determines how we distribute text within its bounding box. Vertical alignment aligns text along the y axis (vertical).
Use the alignment icons to select a vertical alignment. Choose from:
Note: It's only possible to vertically align text in text layers with a Fixed Size. Layers with resizing set to Auto Width or Auto Height will ignore alignment.
Type Details panel
The Type Details Panel gives you access to some extra Text properties. You can also access any OpenType features from this panel.
To open the Type Details panel, click the three dots in the bottom-right corner of the Text section.
- View a preview of any text properties
- Adjust the horizontal alignment of text
- Apply decoration to text, which includes:
- Offset the first line of text with paragraph indentation
- Adjust the letter case. Choose from Uppercase, Lowercase, Capitalize and Small Caps.
- Apply any number settings, including: Style, Position, Fractions and any related OpenType features.
- Access any OpenType features.
- Click to close the Type Details panel.
Use the preview at the top of the type details panel to see how a particular property or OpenType feature looks. Hover over any feature or property to see the preview.
Figma will display sample text that best suits the feature you're previewing. This includes:
- Blocks of text for alignment, spacing and indentation.
- Numerals for any number properties.
- Letters (or combinations of letters) affected by ligatures or stylistic alternatives.
Apply text decoration to an entire text layer, or to selected text. You have two types of decoration available:
Strikethrough adds a horizontal line through the center of your text.
Use strikethrough to indicate obsolete or inaccurate information. This allows you to convey its state, without redacting or obscuring the original text.
Click the icon to apply strikethrough to selected text.
Underline adds a horizontal line along the baseline of your text. Use underline to place emphasis on a particular section of the text, or show that it includes a link.
Underlining links is considered good practice in web design. If applied consistently, this can help to improve the accessibility of your design.
Click the icon to apply underline to selected text.
Tip! Apply an underline to selected text using the keyboard shortcut:
- Mac: Option U
- Windows: Ctrl U
Paragraph indentation offsets the text in the first line to the right. You can only apply Paragraph indentation to text that uses Text-Align Left.
A good rule of thumb is to avoid indentations greater than 4 x the font size. We also recommend taking the width of the text layer into account - the wider the layer, the larger the indentation.
Figma represents paragraph indentation as a pixel (px) value. Use the Paragraph Indent field to adjust paragraph indentation.
Tip! Paragraph indentation applies to all paragraphs in a text layer. If you wish to indent a single paragraph, you will need to create a separate text layer for it.
Letter case allows you to change the case of selected text. This is super handy when you want to switch between cases without having to delete and retype your text. Choose from:
- Uppercase: transforms text to
- Lowercase: transforms your text to
- Capitalize: transforms the first character of every word to upper case. You may know this as
- Small Caps : transform text into
Small Caps. This displays uppercase letters inline with lowercase letters. While this looks like an UPPERCASE transformation, it's a little different. Small Caps characters usually have different proportions (e.g. weight, aspect ratio).
The number section includes any properties or features for numerical figures. The properties in this section will depend on the font family you are using.
- Change the figure Style options including: Proportional or Tabular Lining; and Proportional or Tabular Old Style.
- Offset numbers as subscript or superscript
- Create fractions from numbers. Enter a fraction as
OpenType can refer to a format, or a set of features or functions available in a font. In this article, we're referring to OpenType features.
Figma supports OpenType features across all fonts. Not all fonts support the same OpenType features.
Typeface creator's have full control over which OpenType features they support. They could be popular features - like kerning, case or numerical figures. Or, custom features like alternative characters or glyphs, and stylistic alternatives.
OpenType features vary between fonts, so we won't post a list of possible features.
Instead, we'll show you how to use the Type details panel. This will allow you to explore and interpret a font's available OpenType features.
Tip Learn more about OpenType and Figma in our blog post: An Ode to OpenType
Explore OpenType features from the Type Details panel.
- We display any OpenType features that the font supports below the Numbers setting.
- We will grey out the OpenType feature if a font does not support it.
- Hover over a feature's button to view a preview of the feature.
- We group OpenType features accordingly:
- Letterforms including:
- Rare Ligatures
- Contextual Alternates
- Stylistic Sets
ssxxvary greatly - in name and availability - between fonts. A font can support up to 20 stylistic sets. Some examples include:
- Stylistic Alternates
- Alternate Digits
- Lower case R curves into rounded neighbors
- Character Variants
cvxxvary greatly - in name and availability - between fonts. These are at the discretion of the typeface creator. They could include the following types of variations:
- Open Four
- Closed lower case G
- Closed lower case A
- Horizontal Spacing like: kerning.
- More features like: Fraction denominators and numerators.
Other Properties in the Properties Panel
You can also apply other properties to text layers.
Use the Fill property to apply paints to text.
- Find the Fill section of the Properties Panel.
- Click the Fill thumbnail to open the Color Picker.
- You can then:
- Select a color from the canvas using the Eyedropper
- Explore colors and opacities using the sliders
- Select a color from your available Styles, or from the document's colors
- Enter a specific HEX or color profile code in the field provided
Apply stroke properties to text. This will apply a stroke around every character in your selection.
- Miter Angle
Text layers also support shadow and blur effects.
- Click the next to the Effects property to add an effect.
- Figma will apply Drop Shadow by default. Click the to select another effect:
- Drop Shadow
- Inner Shadow
- Layer Blur
- Background Blur
- Adjust any settings as desired.