How To Highlight Text In Figma

Figma is a powerful online design tool that professionals rely on to create impactful designs. One common action that can sometimes confuse newcomers, however, is text highlighting. Whether you’re finalizing a design or providing comments to your team members, knowing how to highlight text in Figma can be extremely helpful. Follow along as we delve deep into the process of highlighting text in Figma.

Step 1: Select the Text Tool

To begin, select the ‘Text’ tool from the toolbar located on the left side of the Figma interface. You can also use the shortcut key T to quickly select the text tool.

Step 2: Highlight Desired Text

After activating the text tool, click and drag your cursor across the text you want to highlight. Make sure you’re holding down the left mouse button while dragging. It’s similar to how you would highlight text in a word processing program.

Note: About Text Layers

Keep in mind that in Figma, each text box is its own layer. This means that if you’re looking to highlight multiple lines of text across different text boxes, you’ll need to do so individually for each box.

Step 3: Adjusting the Highlight

Once your text is highlighted, a new menu will appear at the top of the interface. Here, you can adjust the ‘Fill’ and ‘Stroke’ of your highlighted text to change the color and border, respectively.

Step 4: Adding Comments (optional)

If you’re collaborating with a team and want to leave comments on the highlighted text, simply click the ‘Comment’ icon (looks like a speech bubble) in the toolbar and click on the highlighted text. In the comment box that appears, you can type your comment and then hit ‘Submit’ to post it.

// Select Text Tool
let textTool = document.querySelector('.text-tool');;

//Highlight Text
let textLayer = document.querySelector('.text-layer');;

//Change Fill and Stroke
let fill = document.querySelector('.fill');
let stroke = document.querySelector('.stroke'); = "#FF0000"; = "#000000";

//Add Comment
let comment = document.querySelector('.comment');;
let commentBox = document.querySelector('.comment-box');
commentBox.value = "This is a comment";

And there you have it! That’s how you highlight text in Figma. Remember, practice makes perfect, so don’t be afraid to experiment and play around with different tools and settings in Figma to fully explore its capabilities.