Pustakam Library

Free Design learning guide

Figma for UI/UX Design: The Beginner's Guide

Figma for UI/UX Design: The Beginner's Guide — a free beginner-level guide covering learn figma for ui ux design. Learn with clear explanations, real...

84 min read8 chaptersbeginner

What you will learn

  1. Introduction to Figma & UI/UX Fundamentals
  2. Frames, Shapes, and Layout Grids
  3. Typography and Color Styling
  4. Components and Variants
  5. Auto Layout for Responsive Design
  6. Prototyping and Interactive Design
  7. Team Libraries and Collaboration
  8. Design Handoff and Exporting

1. Introduction to Figma & UI/UX Fundamentals

Understanding the Digital Canvas: UI vs. UX Imagine you are booking a flight for a long-awaited vacation. You open an app, and within three taps, you have selected your dates, chosen your seat, and completed the purchase. The process feels effortless, almost enjoyable. Now imagine a different scenario: you open the app, the buttons are too small to tap, the colors make the text impossible to read, and you have to start over twice because the app keeps crashing. You finally give up, close the app, and use a competitor's website instead. Why did the first experience feel so smooth, and the second so frustrating? The answer lies in the combined power of UI and UX. When you start learning digital design, these two acronyms are thrown around constantly. While they are deeply interconnected, they refer to two distinct parts of the design process. Understanding the difference is the foundation of everything you will build in Figma. What is UX (User Experience)? UX, or User Experience, is the process of designing a product that is useful, easy to use, and delightful to interact with. It is primarily about how it works and how it feels. UX design focuses on the logic and structure behind a product. Before a single color is chosen or a button is shaped, a UX designer is asking questions like: What is the user trying to accomplish? How many steps does it take them to reach their goal? Is the flow of information logical? What happens if the user makes a mistake? How do we help them recover? UX is heavily research-based. It involves interviewing users, mapping out user journeys, and creating wireframes (basic, low-detail blueprints of a page). If a building were a digital product, UX would be the architectural blueprint, plumbing, and electrical wiring. You don't necessarily see them, but if they are flawed, the building is unlivable. What is UI (User Interface)? UI, or User Interface, is the graphical layout of a product. It is about how it looks. UI design encompasses all the visual elements a user interacts with on a screen. This includes: Typography: The fonts used and how they are sized. Color palettes: The combination of colors that convey brand identity and hierarchy. Buttons and icons: The visual shapes users click or tap. Spacing: The distance between elements to ensure the design doesn't feel cluttered. If UX is the architectural blueprint of a building, UI is the interior design—the paint on the walls, the style of the doorknobs, and the lighting fixtures. A UI designer takes the structural logic created by the UX designer and makes it visually appealing and accessible. The UI/UX Relationship While UX is about logic and …

2. Frames, Shapes, and Layout Grids

Building the Blueprint: Understanding Frames Imagine trying to paint a portrait without a canvas, or build a house without a foundation. In digital design, you cannot simply place elements into the empty void of the Figma Canvas. You need a defined boundary to hold your design, dictate its proportions, and establish how it responds to different screen sizes. In Figma, this foundational boundary is called a Frame. As you may recall from our introduction, Figma uses Frames rather than traditional Artboards. While an artboard is essentially a static flat surface, a Frame is a dynamic, flexible container. It acts as a parent element that can dictate the layout rules for the child elements placed inside it. To create a Frame, select the Frame Tool (F) from the Toolbar and click anywhere on the Canvas. Alternatively, you can press the F key on your keyboard. Once the tool is active, you have two options: 1. Click and drag to draw a custom-sized Frame. 2. Simply click on the Canvas to drop a default Frame (usually 100x100 pixels). You can then resize it manually. However, UI/UX designers rarely design for arbitrary, custom sizes. We design for specific devices like smartphones, tablets, and desktop monitors. When you select the Frame Tool, look at the right side of your screen. The Design panel updates to show a section called Frame. Here, you will see a list of preset device sizes organized by categories like Phone, Tablet, and Desktop. If you click "iPhone 14" under the Phone presets, Figma instantly creates a Frame with the exact pixel dimensions of that device's screen (390 x 844 pixels). This ensures your designs are grounded in reality from the very first click. Anatomy of a Frame Once a Frame is on your Canvas, it’s important to understand its anatomy. A Frame has a name (visible in the Layers panel on the left), a specific width and height (measured in pixels), and a set of properties that define its background and boundaries. When you select a Frame, the Design panel on the right displays several key sections: Layout: Shows the width (W) and height (H) of the Frame. You can type exact numbers here to resize it precisely. Fill: Unlike a plain canvas, a Frame comes with a default background color. You can change this color, add gradients, or even apply images as a background. Stroke: You can add a border (stroke) to the outside of your Frame, which is helpful when designing multiple frames side-by-side and you need to see exactly where one screen ends and another begins. Clip Content: This is a vital checkbox in the properties panel. When checked, any shape or element you place inside …

3. Typography and Color Styling

The Invisible Architecture of Reading Imagine walking into a grocery store where every item—from the aisle signs to the nutrition labels on a cereal box—is written in the exact same font size and weight. Finding a simple carton of milk would become a frustrating, exhausting scavenger hunt. Digital interfaces suffer the same fate without clear visual hierarchy. As we discussed in earlier chapters, visual hierarchy guides the user’s eye to the most important information first. Two of the most powerful tools you have to build this hierarchy are typography and color. When you open a new file in Figma and drop a Frame onto your Canvas, it starts as a blank shell. By adding text layers, applying specific fonts, and filling shapes with color, you transform that empty Frame into a recognizable User Interface. This chapter will teach you how to manipulate these properties to create designs that are not only aesthetically pleasing but also highly readable and accessible to your users. Working with Text Layers In Figma, any piece of text—whether it’s a single character or a multi-paragraph essay—lives inside a Text Layer. To add a Text Layer to your design, select the Text Tool from the Toolbar (or press the T key). Your cursor will turn into a crosshair. Click anywhere on your Canvas or inside an existing Frame, and you can start typing. Once you are done, press the Escape key or select the Move Tool (V) to exit text editing mode. Understanding Typography Properties When you select a Text Layer, the Right Sidebar populates with a variety of typography properties. For beginners, this panel can feel overwhelming, but it breaks down into a few core concepts: Font: The specific typeface family you are using (e.g., Inter, Roboto, Times New Roman). Figma provides access to Google Fonts by default, alongside any fonts installed locally on your computer. Weight: The thickness of the letters. Common weights include Regular, Medium, Bold, and Semi-Bold. Heavier weights naturally draw the eye, making them perfect for headings. Size: Measured in pixels (px), this determines how large the text appears on your screen. Line Height: The vertical space between lines of text. If your text wraps to multiple lines, increasing the line height prevents the lines from crashing into each other, improving readability. It is often set as a percentage (e.g., 140%) or a pixel value. Letter Spacing: The horizontal space between individual characters. Increasing this slightly can make uppercase labels easier to read. Text Alignment: Determines how the text sits within its bounding box (Left, Center, Right, or Justified). Establishing Hierarchy with Text To create a clear visual hierarchy, you need to establish distinct levels of text. A standard UI design typically …

4. Components and Variants

The Blueprint of Interface Design Imagine you are designing an e-commerce app. On the home screen, you have a "Add to Cart" button. On the product page, you have another "Add to Cart" button. In the shopping cart, the checkout flow has an "Add to Cart" button. If you design each of these buttons from scratch—drawing the rectangle, picking the exact blue from your color palette, setting the typography, and adjusting the corner radius—you are doing a lot of repetitive work. But the real problem arises when your client says, "Let's make all the primary buttons green instead of blue." If you drew 50 buttons individually across your file, you now have to find and recolor all 50 of them. If you miss one, your User Interface loses its consistency, which damages your visual hierarchy and confuses the User Experience. Figma solves this problem with a feature called Components. A component is a master element that you can reuse across your design file as many times as you want. When you update the master element, every copy of it updates instantly. In this chapter, we will explore how to create these master elements, use them, and organize them into powerful variant sets. Main Components vs. Instances Before we build anything, we need to define two crucial terms in Figma: Main Components and Instances. Understanding the relationship between these two is the foundation of scalable UI design. - Main Component: This is the original, master blueprint of your design element. It defines the structure, color, typography, and size of the element. You usually keep your main components on a separate frame away from your actual design canvas, almost like a storage shelf. - Instance: This is a copy of the main component that you place into your actual design. An instance is permanently linked to its main component. Think of a Main Component as a rubber stamp, and an Instance as the mark it leaves on paper. If you carve a new design into the rubber stamp (edit the Main Component), every mark you make from then on will have the new design. Here is the magic of instances: while they are linked to the main component, you can still override certain properties on an individual instance. If your main component is a blue button with the text "Submit," you can drag an instance onto your canvas and change the text to "Cancel" without breaking the link. If you later decide to change the corner radius of the main component from 4 pixels to 8 pixels, all your instances will update their corners to 8 pixels, but they will retain their individual text ("Submit", "Cancel", "Save", etc.). Creating Your First Component …

5. Auto Layout for Responsive Design

The Problem with Moving Pixels by Hand Imagine you’ve just finished designing a perfect Button. You spent time adjusting the Typography, balanced the Color palettes, and set the exact spacing so the text sits beautifully in the center. You show it to your team, and they say, "We love it, but can we see what it looks like in German?" You type in the German translation. Suddenly, your perfect button breaks. The text overflows the background shape, the padding is ruined, and the text is no longer centered. You manually resize the background, adjust the text box, and re-center everything. Then, they ask for a version with an icon. You repeat the whole manual process. This is how early UI design worked. Designers pushed pixels around by hand, resizing background rectangles every time the content inside them changed. Auto Layout is Figma’s solution to this problem. It is a property you can add to a Frame that automatically controls the spacing, padding, and alignment of the objects inside it. Instead of telling Figma exactly where an object should sit on the X and Y axes, Auto Layout tells Figma how objects should relate to each other. When you apply Auto Layout, frames stop being fixed-size boxes and become flexible containers that grow, shrink, and adapt to their content automatically. This is the foundational skill for creating responsive designs—interfaces that look great whether they are viewed on a tiny mobile phone or a massive desktop monitor. The Core Ingredients: Direction, Spacing, and Padding When you apply Auto Layout to a frame, Figma shifts from standard absolute positioning (where you drag things around freely) to relative positioning. The Auto Layout menu in the right sidebar gives you control over four main ingredients. 1. Direction Direction dictates how the elements inside the frame flow. There are three options: Horizontal: Elements sit side-by-side, left to right. Think of a row of navigation links. Vertical: Elements stack on top of each other, top to bottom. Think of a news feed. Wrap: Elements flow in a line, but if they run out of room, they wrap to the next line. Think of a grid of tags on a blog post. 2. Spacing (Gap) Spacing (often called "gap") is the empty space between the items inside your Auto Layout frame. If you have three icons in a horizontal Auto Layout frame with a gap of 10 pixels, Figma will automatically put 10px of space between icon one and two, and 10px between icon two and three. If you add a fourth icon later, it automatically gets its 10px gap. 3. Padding While spacing controls the gaps between items, Padding controls the space between the items and the …

6. Prototyping and Interactive Design

Imagine you are handed a beautifully bound book, but every single page is completely blank. You can feel the texture of the paper, admire the gold lettering on the cover, and appreciate the quality of the binding. Yet, without words on the page, the book serves no real purpose. You cannot read the story. Up to this point in your Figma journey, the screens you have designed are like that blank book. You have learned how to build sturdy Frames, arrange content beautifully using Auto Layout, style text with thoughtful Typography, and create reusable Buttons and icons using Components and Variants. Your User Interface (UI) looks fantastic. But right now, it is completely static. To understand how your product will actually feel to a user, you need to turn those isolated screens into a living, breathing experience. You need to simulate the journey a user takes when they tap a button, fill out a form, or navigate from a login screen to their home dashboard. This is where prototyping comes in. By the end of this chapter, you will bridge the gap between a static picture and a functional product, allowing users to click through your design as if it were a fully coded app. The Basics of Prototyping in Figma In the world of UI/UX design, a prototype is an interactive simulation of your final product. It is not the final coded app or website, but it behaves like one. Prototyping allows you to conduct User Experience testing, demonstrate functionality to developers, and catch usability flaws before a single line of code is written. In Figma, prototyping is built directly into the design file. You do not need to export your screens to a separate application to make them interactive. Everything happens on the same Canvas you have been using. Switching to the Prototype Panel Take a look at the top right corner of your Figma window. You are likely very familiar with the Design tab, where you adjust colors, spacing, and Auto Layout properties. Right next to it is the Prototype tab. Clicking this tab changes the right-hand sidebar. The properties for fills, strokes, and typography disappear, replaced by tools designed to control movement, timing, and interaction. When you are in the Prototype panel, you will notice a small circular icon appear on the right edge of any element you select on your canvas. This is the Connection Node. This tiny circle is the key to all interactive design in Figma. It is how you tell your screens to talk to each other. Creating Navigation Connections A navigation connection (often called an interaction or flow) is the link between two elements. The most basic prototype you can build …

7. Team Libraries and Collaboration

The End of the "FinalFinalv3" File Imagine you are designing a large e-commerce application. You have separate files for the home page, the checkout flow, and the user account settings. One Tuesday, your team decides to change the primary brand color from a bright blue to a deep navy. If you were working in traditional design software, you would have to open every single file, manually find every button and text style, and change the color one by one. By the time you finish, the developers might have already started coding the old blue. Figma was built to solve this exact problem. Because It is real-time and cloud-based, Figma allows you to create a single "source of truth" for your design elements and share them across your entire team. In this chapter, we will explore how to use Team Libraries to share your Components and Variants and Typography and Color Styling across multiple files. We will also look at how Figma’s multiplayer features allow designers, developers, and stakeholders to work together on the same Canvas simultaneously, and how to use branching to explore new ideas safely. Team Libraries: Your Single Source of Truth In earlier chapters, you learned how to create components (like Buttons and icons) and define styles (like text and color palettes) within a single file. But what happens when you need that exact same button in a completely different file? This is where a Team Library comes in. A Team Library is a Figma file that has been published specifically to share its assets with other files. Instead of copying and pasting a button from one file to another—which breaks the connection between them—you can publish that button to your team library. When you update the button in the library, Figma automatically offers to update it in every single file that uses it. Publishing Your First Library To share your design assets, you first need to organize them in a file and publish it. A common practice is to create a dedicated file (often called a "UI Kit" or "Design System" file) that contains only your styles and components, rather than full screen designs. Here is how to publish a library: 1. Open the file containing the components and styles you want to share. 2. In the left sidebar, click on the Assets tab (next to the Layers tab). 3. Click the Library icon (it looks like an open book) in the top right of the Assets panel, or go to the main Figma menu and select Libraries. 4. Click the Publish button. 5. Figma will show you a summary of all the components and styles included in this file. 6. Add a release note (e.g., "Initial …

8. Design Handoff and Exporting

The Bridge Between Design and Development You have spent hours perfecting your UI. You built robust Components and Variants, ensured your layouts adapt flawlessly using Auto Layout, and built an interactive prototype to demonstrate the user flow. The design looks beautiful on your screen. But a design sitting in Figma is not a product. To become a living, breathing application, a developer needs to translate your visual canvas into thousands of lines of code. The process of transitioning a finished design into a developer's hands is called the design handoff. Historically, this was a messy process involving exported image files, long emails, and endless questions about spacing and colors. Today, tools like Figma have transformed the handoff into a collaborative, code-generating experience. A successful handoff ensures a developer knows exactly how to build what you designed without guessing. This chapter covers how to prepare your files for absolute clarity, how to export static assets, and how to use Figma’s Dev Mode to generate accurate code snippets for web and mobile platforms. Organizing for Developer Clarity Before you invite a developer to look at your file, you must clean up your workspace. Think of this like cleaning your house before a guest arrives. A messy Figma file leads to missed details, incorrect spacing, and frustrating delays in production. Naming Conventions In earlier chapters, we used default or placeholder names for layers while focusing on layout and styling. Now, it is time to get strict. Developers rely on precise names to structure their code. If a button is named "Frame 47" in Figma, the developer has to guess what it is. If it is named Button / Primary / Default, the intent is immediately clear. Establish a clear naming convention—a standardized system for naming your layers, components, and pages. Use the forward slash (/) to create hierarchies in your names, which Figma automatically organizes in the layers panel. Bad: Rectangle 3, Copy of Button, Icon 12 Good: Avatar / User, Button / Primary / Hover, Icon / Search Structuring Pages Figma Pages (the tabs at the top of the canvas) should be used to separate different phases or sections of your work. If a developer opens a file and has to sift through abandoned concepts, wireframes, and final designs all mixed together, they will waste time and potentially build the wrong thing. A clean file structure typically uses separate Pages for: 1. Cover & Overview: A single page with a title, project summary, and links to the other pages. 2. Design / Production: The final, approved UI screens. 3. Prototyping: The screens with interactive flows (if separated from production). 4. Archive: Old concepts and explorations kept for reference, but clearly marked as …

Continue learning