Creating a Custom Button Icon in Figma — SitePoint

Iconography is a misplaced art work. Illustration is super time-consuming, and there’s an abundance of sources available on the market already. So it’s not on a regular basis worth reinventing the wheel. Nonetheless we’d have a specific art work mannequin, or the icon framework we’re using couldn’t have the icon we want, so it’s worth diving into how illustration works in Figma a bit bit. On this tutorial, we’ll uncover methods to attract and manipulate vectors in Figma as we create a heart-shaped icon to accompany the button.

Start by making a 16×16 Physique, which might be the bounding subject for our icon. Paul Wilshaw explains why it’s most interesting to utilize 16×16 in his write-up on icon design.

Creating a Custom Button Icon in Figma — SitePoint

Subsequent, click on on on the + icon subsequent to “Format grid” inside the Design panel in order so as to add a Grid to the Physique, click on on on the “Format grid settings” icon, after which change the “Measurement” to 1 to make the individual sq. pixels clearer. To verify the icon reveals clearly at most sizes and show display resolutions, the goal may be to align the icon with the grid strains as loads as potential.

Our Frame with a Layout grid

Now for the icon itself. Start by making a Rectangle kind and specifying the “W” as 16 and “H” as 10after which click on on on the “Unbiased corners” icon sooner than specifying the nook radii as 0, 5, 5and 0 in that order (that is, clockwise starting from the top-left nook).

Our icon taking shape

Subsequent, duplicate the Layer and alter the “Rotation” to 90.

Duplicating and rotating the icon

After that, snap the Layer to the left fringe of the Physique and the alternative Layer to the underside fringe of the Physique, after which, with every Layers chosen, click on on on the “Union alternative” icon inside the horizontal toolbar to fuse the Layers proper right into a single Layer.

Fusing the layers

Change the “Rotation” to 45—and that’s the center kind achieved.

Our heart-shaped icon

Sooner than we make the center kind match into the Physique, add a Stroke (border) by clicking on the + icon subsequent to “Stroke” inside the Design panel, deciding on 2 for the “Stroke width”. Shortly, this may provide us the prospect to utilize outlined icons along with stuffed icons.

Setting the stroke width

Discover: to point out icons at a particular dimension, it’s most interesting to scale them barely than resize them. The excellence is that the Scale machine—beneath the “Switch devices” icon inside the horizontal toolbar (Okay)—moreover scales sizes resembling Stroke width proportionally, whereas resizing doesn’t affect sizes resembling Stroke width.

Subsequent, right-click on the icon, after which choose Flatten (command + E / ctrl + E). We’ll see that, whereas the Rotation isn’t in affect, the Layer stays how we set it, which signifies that we’ll now resize it horizontally and vertically as an alternative of diagonally (which yields an odd affect).

Flattening the icon

After that, click on on on the “Constrain proportions” icon inside the Design panel, set crucial dimension (which must be “W”) to 16click on on on the “Constrain proportions” icon as quickly as additional (so that the size are usually not constrained), across the “H” all the best way all the way down to 14 (so that the icon solely fills full pixels), drag-snap it into the center of the Physique, after which click on on on the icon inside the Fill half to remove the Fill.

Our heart icon after the latest changes

When designing icons, we should always all the time try to make use of all accessible Physique space so that quite a lot of icons might be aligned horizontally or vertically if wished. Nonetheless, this isn’t on a regular basis attainable, so it’s okay to resize icons barely when wanted. Doing so doesn’t affect Stroke width, so we obtained’t wish to fret about them wanting inconsistent. To be sure that an icon scales with a Physique as soon as we resize the Physique, change the “Left” and “Prime” to “Scale” inside the Design panel (inside the Constraints half).

Our constraints applied

Lastly, select the Physique after which click on on on the “Resize to swimsuit” icon to trim the detrimental space, thus resizing the Physique.

Selecting the Resize to fit icon

We now have full icon! We’re capable of moreover try our hand at drawing from scratch and/or using shapes and modifying them. Nonetheless, it does require pretty a little bit little bit of expertise and time to check. Icon design itself may also be very time-consuming, significantly when there are so many free design sources available on the market. Figma has a video tutorial that walks us through this, nevertheless the Font Superior plugin is perhaps the proper decision for implementing icons at current.

This textual content is a quick extract from The Designer’s Info to Figma, accessible on SitePoint Premium.

Steadily Requested Questions (FAQs) on Creating Personalized Button Icons in Figma

How Can I Create a Personalized Button Icon in Figma from Scratch?

Making a custom-made button icon in Figma from scratch entails quite a lot of steps. First, it’s essential to open a model new file in Figma. Then, select the ‘Kind’ machine from the toolbar and draw a rectangle on the canvas. This will perform your button. You’ll modify the size, color, and border radius of the rectangle to suit your design. Subsequent, select the ‘Textual content material’ machine and type your button textual content material. Regulate the font, dimension, and color as wished. To create the icon, you could each draw it using the ‘Pen’ or ‘Kind’ devices, or import an SVG file. As quickly because the icon is created, place it on the button. Lastly, group the button and the icon collectively by selecting every and clicking ‘Group Selection’ inside the right-click menu.

Can I Use SVG Info for My Button Icons in Figma?

Certain, you must use SVG info in your button icons in Figma. To do this, merely import the SVG file into your Figma problem. As quickly as imported, you could resize, recolor, and reposition the SVG icon as wished. This is usually a good method to make use of pre-made icons in your designs, saving you time and ensuring educated look.

How Can I Make My Button Icons Responsive in Figma?

To make your button icons responsive in Figma, it’s essential to use ‘Auto Format’. This perform permits your buttons to resize robotically based on the content material materials inside them. To make use of Auto Format, select your button and icon group, then click on on the ‘+’ button subsequent to ‘Auto Format’ inside the right-hand panel. You’ll then modify the padding and spacing as wished.

How Can I Create a Hover Influence for My Button Icons in Figma?

Making a hover affect in your button icons in Figma entails using the ‘Prototype’ perform. First, duplicate your button and make the required design modifications for the hover state. Then, select the distinctive button, go to the ‘Prototype’ tab, and create an interaction. Set the set off to ‘On Hover’, the movement to ‘Navigate To’, and the holiday spot to the hover state button.

Can I Create Animated Button Icons in Figma?

Certain, you could create animated button icons in Figma using the ‘Good Animate’ perform. This allows you to animate modifications between completely totally different states of your button. To do this, create completely totally different variations of your button with the modifications you want to animate. Then, use the ‘Prototype’ perform to create an interaction between the completely totally different states, and set the animation to ‘Good Animate’.

How Can I Share My Personalized Button Icons with My Group in Figma?

Sharing your custom-made button icons collectively along with your group in Figma is straightforward. You’ll invite group members to your Figma file by clicking the ‘Share’ button inside the top-right nook and entering into their e-mail addresses. They will then be succesful to view, contact upon, and edit the file based on the permissions you set.

Can I Use My Personalized Button Icons in Totally different Figma Duties?

Certain, you must use your custom-made button icons in numerous Figma duties by making a ‘Factor’. To do this, select your button icon group and click on on the ‘Create Factor’ button inside the right-hand panel. You’ll then use the ‘Belongings’ panel to entry and use this aspect in numerous Figma info.

How Can I Create a Library of Personalized Button Icons in Figma?

To create a library of custom-made button icons in Figma, it’s essential to create components for each button icon and publish them to a gaggle library. To do this, select each button icon group and click on on ‘Create Factor’. Then, go to the ‘Belongings’ panel, click on on the ‘Group Library’ button, and publish your components. Your group can then entry and use these button icons of their designs.

Can I Export My Personalized Button Icons from Figma?

Certain, you could export your custom-made button icons from Figma. To do this, select the button icon you want to export, go to the ‘Export’ panel inside the right-hand sidebar, and choose your required export settings. You’ll export your icons as SVG, PNG, JPG, or PDF info.

How Can I Improve the Accessibility of My Button Icons in Figma?

Bettering the accessibility of your button icons in Figma entails quite a lot of steps. First, assure your icons are clear and recognizable. Second, use contrasting colors in your buttons and icons to ensure they’re seen to all prospects. Third, ponder together with tooltips or labels to your buttons to provide additional context. Lastly, check out your designs with numerous prospects to ensure they’re accessible and user-friendly.

By admin

Leave a Reply

Your email address will not be published. Required fields are marked *