15 Minute Tutorial – Building a Chat Context Menu Using a Figma Design System

Welcome to my quick and informative 15-minute tutorial series. This series of articles will teach you the process of building effective and visually appealing styles and components in Figma using a prebuilt design system. In no time, you’ll gain hands-on experience in leveraging Figma’s powerful features to streamline your design workflow, while expanding your knowledge of design systems. For this series, I’ll be using the Figma design system that was built at my current job, but you can use any number of Figma design systems to build your components.
These tutorials assume you have basic knowledge of Figma.

 

Step 1

Draw a frame and decide whether you want a border radius on it. Our design system has number tokens we use for padding, spacing, and border radius. Here, I’ve chosen spacing-xxs, for a border radius of 4px.

 

Step 2

Next I applied auto layout by pressing Shift + A with padding of 24px on the left and right and 16px padding on the top and bottom. Then I applied a drop shadow on the frame by choosing the + icon in the Effects panel.

 

Step 3

Our design system contains icons, icon links, and icon links with labels. I chose the icon link with a label from the Assets panel and dragged it to the frame.

 

Step 4

Duplicate your component so you have the amount of links you need in your context menu.

 

Step 5

Use Swap instance by selecting the dropdown next to the icon in the Design panel to change the icon to what you want. This assumes you have created these icon components previously.

 

Step 6

Here you can see I’ve swapped the icons and renamed the links.

 

Step 7

Now make sure your icons and links are using the color styles or variables created in your design system. One of the links in our context menu is destructive, so I applied an error (red) variable to the Delete icon and link.

 

Step 8

Below the links, we include a user icon and text that tells the user how many people are in the chat. I dragged an icon to the canvas from the Assets panel, and wrapped the icon and text in another Auto layout frame that uses a surface fill color.

Step 9

We also include a link icon that opens and closes the context menu. Drag a link or button from your Assets panel to the canvas and create another Auto layout frame around the link or button, the text and the icon. Below you see I’ve named my new frame “button row”.

Done!

Below is our finished chat context menu with hover and active states on the icon links.

Happy creating, and stay tuned – more tutorials are coming soon!

 

✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢

Comment below to share your thoughts. 🙂

Learn more about design systems

I’m a designer with 20 years of experience in web, eLearning and visual design. Follow me:

Anne Youkey's portfolio Anne Youkey's LinkedIn Anne Youkey's Figma Anne Youkey's Twitter Anne Youkey's Dribbble Anne Youkey's Behance