To insert text, select to Insert > Text in the toolbar or menu bar, or press T, then click anywhere on your canvas and start typing.
You can also click and drag to create a fixed size text box. With this, text will wrap onto a new line instead of expanding the size of the text box itself.
Adding rich text
To insert rich text (with styling from another app), select Edit > Paste > Paste as Rich Text or press ⌘ + ⌥ + ⇧ + V.
How to use text on a path
To add text to a vector path, you’ll need a text layer and a shape layer that’s below it in the Layer List. Select the text layer and then select Text > Text on Path. Finally, drag your text layer towards your shape layer and let it snap into place.
To remove your text from the path, select Text > Text on Path again, or move its position in the Layer List.
You’ll find options for changing how your text looks in the Inspector and in the Text menu in the menu bar. If the font you’ve selected supports OpenType features you’ll find them in the Text menu and if it has Variable options you’ll find these in the Inspector.
How to change text using the Text menu
In the Text menu bar, you’ll find options for:
- basic styling (bold, italic, underline)
- increasing and decreasing size, alignment
- creating unordered and ordered lists
- transformations (uppercase and lowercase)
- kerning, ligatures and baseline.
How to use OpenType Features
If you’re using a font that supports OpenType features, select your text and choose Text > OpenType Features from the menu bar, then select and enable the OpenType features you want to use.
How to change text in the Inspector
Select a text layer on your canvas and you’ll see all of its formatting options and properties in the inspector.
- Under the Appearance panel, you can save and apply Text Styles to keep the appearance of different text layers consistent across your designs. Take a look at Text Styles to find out more.
- Use these controls to select your text layer’s typeface (font), weight, font size and color.
- If you’re using an OpenType font with variable options (weight, width, slant, optical size, etc.), click on this button to reveal the Variable Font Options popover and drag on the sliders to adjust each individual property.
- Use the Character, Line and Paragraph controls to adjust the spacing between characters, lines and paragraphs.
- The Auto Width, Auto Height and Fixed Width controls change how a text box resizes to fit its contents. Auto Width means the text box will expand as wide as possible to fit your text on a single line. In this case you can only use horiztonal alignment. Auto Height will wrap text onto a new line to fit the width of the text box and resize the height of the text box to fit its content. Fixed Width gives you control of the height and width of your text. Text will wrap to fit inside the box itself and crop when it exceeds its height. In this case you can set both the horizontal and vertical alignment.
- Use the buttons in the Alignment panel to set both the horizontal and vertical alignment of your text.
- To open the Text Options panel, click on the cog icon at the top of the Text panel. Here you can set text decoration (underline, strikethrough) and transformation options (uppercase, lowercase). The transformation options are non-destructive, so you can type in regular sentence case and transform your text to all uppercase automatically.
How to change text color
There are two ways to change the color of your text. You can apply different colors to different parts of your text using the Color button within the Text panel.
Alternatively, you can apply a fill under the Fills panel. This will affect the whole text layer and is ideal for applying gradients. It will also override any color you’ve set in the Text panel.
How to adjust line height
When you create a new text layer, its line height will automatically adjust to match its font size.
When you manually adjust the line height, typeface or font size of a text layer, it will reposition itself so that the first baseline will always stay in place.
If you change the typeface or font weight within a paragraph, the line height will remain consistent.
Converting text to vector shapes
To convert text into vector shapes (and edit them like other vector layers), select your text layer and choose Layer > Convert to Outlines. Or press ⌥ + ⇧ + O.
If you apply a boolean operation to a text layer, it will have the same effect as converting to outlines.
Note: Converting text to outlines is a destructive process and you won’t be able to edit the text itself again. Converting lots of text to outlines can slow Sketch down.