What Is Figma (HCI Course)
What Is Figma (HCI Course)
Figma
Styles
Components
Auto Layout
Prototyping in Figma
1. Getting started
The look and feel of the Figma interface are quite minimal, but it
belies a set of powerful features. Here’s an explanation of the
interface’s main areas (labeled above):
Tools: Here you can quickly access the tools you’re likely to use
most often: frames, shapes, text, etc. (We’ll cover all these tools in
the next couple of days!)
Options: This area shows extra options for whichever tool you have
selected. When no object is selected (as shown above), Figma
displays the file name. When an object is selected, contextual
options appear here.
Now that you’ve found your way around, let’s start making stuff!
Note that we’ll be referring to keyboard shortcuts a lot in these
tutorials. It’s worth getting in the habit of using these shortcuts right
from the off because they’ll significantly speed up your workflow
further down the line.
For mobile, you can use a standard 8 point grid. For Web, it’s less
about spacing and more about layout grids so you can start on the
safe side with a popular 12-column bootstrap grid. Or a little
more modern with my personal favorite, a custom CSS Grid.
The great thing about grids and columns in Figma is that you
can set up multiple grids and store them in your styles (we
will talk about styles in-depth later). This is a handy feature for
adapting your layouts to a range of devices, share them with team
members, or simply re-use them in other projects.
As with Sketch, on the left-hand side of your screen, you find the
layers panel.
Layers panel on the left-hand side
To make your own, more complex shape, hit P, or pick the pen from
the top menu. Once finished, simply press enter. No need to
connect and close paths! Nice! You can change properties and
manipulate vector shapes at any moment during your design process
via the properties menu on the right-hand side. Vector Networks are
very powerful if you want to know more. I recommend this in-depth
tutorial from Design+Code.
2.5 Images
Drag the image onto your work area. If you are used to Sketch here
is where you need to adapt to a new format. In Figma, images are
always placed inside a shape (like a mask). To change the
behavior of the image go to Fill on the right-hand properties
window and open the image properties.
Images in Figma
Crop → the image to the size and selection you need. Note, you
don’t lose the rest of the image as in photoshop, you are only
masking the image.
Tile → Repeats the original images as necessary, and you can
adjust the size of the tile.
2.6 Typography
Press T, to draw a text window, or simply click and start typing. You
can set all text properties on the right-hand side properties menu.
Text in Figma
Text box behavior such as auto width, auto height, and fixed-size
will be relevant once we talk about auto-resizing later.
3. Styles
Styles may be used to describe the color, text, and effects applied to
objects, as well as the form and appearance of pattern grids.
Effects
4. Components
Components are elements you can reuse across your designs. They
help to create and manage consistent designs across projects.
Components make your design (and later programming) consistent
and allow for easy updating and scaling and will save you a lot of
work!
Components
You can create components to use within a single file. Or, you can
use Team Library to share components and Styles across files and
projects.
5. Auto Layout
Create buttons that grow or shrink as you edit the text label.
Auto layout is a powerful feature with many moving parts and uses.
In this article, we’ll show you how to add an Auto layout to a frame,
and how each of its properties works.
In the right sidebar, click the next to Auto layout with a frame
selected.
Tip! You can add Auto layout to components. You will need to add
an Auto layout to each component individually.
Direction
Direction describes the way the auto layout frame will flow.
You can control the spacing between items in an Auto layout frame.
Unlike smart selection, there isn’t a way to adjust the spacing on the
canvas. Instead, use the spacing fields in the Auto layout section of
the right sidebar:
Enter a number in the field, nudge the values using your arrow keys,
or scrub the field using your cursor.
Spacing
Padding
Padding controls the empty or white space between the child objects
and the boundary of an Auto layout frame. You can set padding
uniformly, or have different values for top, right, bottom, and left
padding.
Alignment
Choose how to align child objects within an Auto layout frame. Both
the direction of the Auto layout frame and the distribution will
determine what alignment options you have available.
Alignment
If your distribution is set to Pack, you have the same nine options for
each direction:
Top left
Top center
Top right
Left
Center
Right
Bottom left
Bottom center
Bottom right
Note: When one or more resizing properties are set to hug contents,
some selections won’t result in visually different layouts on the
canvas. This is because hug contents remove any extra space around
the child's objects.
Distribution
Once you’ve set alignment rules for child objects in a frame, choose
how those objects will be distributed within that frame.
Resizing
Note: Text layers also have their own resizing properties. Within an
Auto layout frame, this may produce some useful results.
6. Prototyping in Figma
Create connections
2. Create interactions
4. Apply an animation
Members can interact with a file based on the file’s link sharing
permissions, regardless of whether they’re a member of that team or
project. If public link sharing is enabled, members can also share
files with people outside the organization.
Invite people by clicking the blue share button in the top menu
and enter an email address or copy the link and send it.
sharing in Figma
edit mode
Developers → set to VIEW MODE. This will show them all specs
(toggle CSS, iOS, and Android code). They can also access your
prototype in action and can download any assets in the size
needed.
view mode
☝Note: If you are sharing with the developers while still working
on the file, it’s best to set up a page in your design clearly labeled as
the latest tidy versions for the dev team to avoid confusion.
w & h → You can also set a width, e.g. 300w = image with
a width of 300px. Same for height=h