FD4B: Create the skills list
Great work! Now we’re ready to combine our custom shapes with some text layers to build the skills list.
Build the skills list
- Add a new text layer to the canvas and enter a short bit of placeholder text, something like
Skill name
is fine for now. - We’re sticking with the
Inter
font but feel free to choose something else. - Change the font's properties:
- Set the Font weight to something heavier like
Bold
orBlack
. - Set the Font size to
48
. - Se the Line height to Auto.
- Set the Font weight to something heavier like
- From the Assets tab in the left sidebar and find the
Inchworm
component, and add an instance of it to the frame and align its vertical center with the text layer. - Select and duplicate both layers. Then, move the new layers to the right of the original.
Swap instances
We need to replace the Inchworm
shape with an instance of the Diamond shape. Instead of locating and adding instances from the Assets tab, we can simply swap in a new instance.
To swap instances:
- Select the duplicated shape layer.
- Open the Swap instance menu in the right sidebar. From here, you can access our other shape components and insert instances of them directly into our design, in place of the selected instance.
- Select the Diamond component from the instance swap menu.
- Figma will automatically replace the shape layer on the canvas with a new instance.
- Duplicate the text and shape layer again and repeat the process with the next shape.
- Once the row includes three sets of text and shapes, start a second row below the first until you’ve used all five shapes.
Apply auto layout to the skill list
Now it’s time to revisit our old friend auto layout!
- Click and drag your cursor to select all of the text and shape layers.
- Press Shift A to add them to an auto layout frame.
- Rename this frame to
Content
. - Give it a Max width of
1000
. - Since our layers were already arranged into multiple rows, Figma automatically set the Direction to Wrap.
- Update your placeholder text with skills that highlight our strengths, and see how auto layout responds.
- Now that the direction is set to Wrap, the frame has both a Horizontal and Vertical gap property. Set both gaps to
8
. - Set the Padding
0
(zero). - Set the Alignment to Align left.
Use selection colors to change fills
We want our shapes to be the same color as the text. Instead of changing each shape’s fill individually, we can use the Selection colors section in the right sidebar to change them all at once. Like the name implies, Selection colors displays all of the solid color or gradient fills used in your current selection.
- Select the auto layout frame with all of the text and shape layers
- Use the field next to the gray color swatch in the Selection colors to change the fill to
#000000
.
Add the container frame and create a component
Awesome! Now we just need to add this element to a container frame like we did for all of our other components earlier.
- Draw a new frame around the Content frame.
- Add auto layout to it with Shift A.
- Rename the frame to
Skills list
. - Remove the frame’s fill.
- Update the following auto layout properties:
- Set the Height resizing to Hug contents
- Set the Alignment to Center
- Set the Horizontal padding to
24
- Set the Vertical padding to
80
- Turn the Skills list frame into a main component.
- Move the new component to the Components page.
Lesson wrap up
Awesome work! We just created five custom shapes by merging basic shapes using boolean operations, editing the vector path of a rectangle, and changing the arc properties of an ellipse. We then combined our shapes with text layers and auto layout to build a responsive skills list element. We finished the lesson by turning the element into a main component and moving it to the Components page.
Our individual portfolio elements are now complete! In the next lesson, our hard work will pay off as we put all of the elements together to build our portfolio design.