Navigate back to the homepage
All Tips
#25

Full function progress bar component

We can use this component for any state of loading, from 0 to 100%.

  1. Create a parent frame and make sure “Clip Content” is checked.
  2. Create a child frame with auto-layout applies for a text layer.
  3. Change text to define different loading states when using.

#24

Dynamic Tooltip with Autolayout

  1. Building your blocks with top triangle, content and bottom triangle.
  2. Apply the Autolaout for the whole frame component.
  3. Place the constant where we want to use it.
  4. Adjust spacer of the triangle by typing any text inside the textbox of the constant. Hide/Show top/bottom triangle base on the position.

Trying out the file here →

#23

Copy an icon from Sketch

We don’t need to import the whole sketch file to Figma just to copy an icon. We can copy an element from Sketch to Figma directly.

  1. Select element in Sketch
  2. Right-click and choose “Copy SVG Code”
  3. In Figma, paste it with “⌘ + V”
  4. Enjoy the real vector element.

#22

When to use Frame vs Group

Group

When resizing a group, its child elements will scale as you would expect vector artwork to scale.

Frame

When resizing, a frame’s bounds will be resized independently from its child elements. So each elements can have different constraints.

Learn more about Frame & Group

#21

Hide UI for wider view

Hide Figma’s UI to have a widest view of your whole design. An indispensable action for me all the time. Press “⌘ + .” or “⌘ + \”

#20

A trick with union and corner

In Figma, union and corner radius sometime bring a big joy to us.

Credit @MengTo

#19

Change shift nudge to 8px

8px grid system is the most popuplar grid system on UI design. Be default, when we press “Shift + Up/Down Arrow”, the element will move 10px. To change the shift nudge to 8px:

  1. Preferences > Nudge Amount
  2. Change Big nudge amout to 8

#18

Paste above a layer

The fastest way to bring an element to a dedicated position, by paste above on layer.

  1. Copy an element with “Copy + C”
  2. Select a layer
  3. Press “⌘ + Shift + V”

© 2020 byTrong Nguyen
Link to $https://twitter.com/trongtnt92Link to $https://medium.com/@trongtnt92