Learning path

Figma Variables, Modes and Conditional Logic

For designers who know the basics of Figma and want to build theme-able designs and stateful prototypes. You will set up variables and modes, then wire up conditional logic in realistic flows.

What you’ll learn

  • Create colour, number, string and boolean variables in Figma
  • Build light and dark themes with variable modes and tokens
  • Link variables to component variants so components respond to state
  • Prototype counters, coupon fields and form validation with conditional logic
  • Combine variables, variants and actions into stateful prototypes

Lessons

  1. Adi Purdila 31 min Beginner

    Start here: learn what variables are, then apply them to colour, text and spacing, with modes for light and dark themes.

    A beginner tutorial on Figma Variables covering what they are, how to create and apply them for colours, text and spacing, and how to use variable modes for dark and light themes. It also shows how to use variables in prototypes.

  2. Pixxelex 5 min Beginner

    Adds a first hands-on prototype, where a variable changes a value on click.

    Shows how to build an interactive counter in Figma using variables, covering the design of the counter and its prototype animation. Suited to designers learning Figma prototyping.

  3. Design with Paavan 2 min Intermediate

    Bridges to components by showing how to link a variable to a component variant property.

    A short Figma tutorial showing how to link a variable to a variant property of a component. It notes that the technique extends to colour modes, spacing and languages, and assumes the viewer already knows how to set up component variants.

  4. TD Sunshine 16 min Intermediate

    Builds on modes to create a theme-able colour system with palettes, semantic tokens and aliases.

    A Figma tutorial, part of a series, that builds a colour system using variables and design tokens. It covers creating colour palettes, organising them, making colour variables and tokens, and assigning semantic tokens.

  5. Design with Paavan 7 min Intermediate

    Introduces prototype state using local variables, the set variable action, and variant and layer visibility links.

    A Figma tutorial that shows how to use local variables to manage state in a prototype, linking component variants and layer visibility to variables and using the set variable prototype action. It is aimed at designers who already use Figma components.

  6. TD Sunshine 17 min Intermediate

    Extends state to colour, number, string and boolean variables, with your first look at conditional logic.

    A Figma tutorial showing how to use colour, number, string and boolean variables to build prototypes with conditional logic. It is aimed at designers who already work in Figma and want to make prototypes respond to variable values.

  7. Adi Purdila 13 min Intermediate

    Applies conditionals in a realistic flow: a coupon field inside an e-commerce cart drawer.

    Shows how to build a functional coupon interaction for an e-commerce cart drawer in Figma, using variables, conditionals and prototype preview. It is drawn from a real client project.

  8. Design with Paavan 25 min Intermediate

    Combines components, variants, variables and conditional actions to validate a form in a longer build.

    A Figma tutorial showing how to build form validation in a prototype using components, variables, variants and prototype interactions, with a prototyping-only section from 12:35. It suits designers who already use Figma and want to make stateful prototypes.

  9. AnjiUx 6 min Advanced

    Advanced capstone: a short recap that pushes variable-driven conditional prototype behaviour further.

    A Figma tutorial showing how to use variables for advanced prototyping, including conditional prototype behaviour. It is aimed at designers who already work in Figma and have access to the Pro plan's prototyping features.

  10. Darren Northcott - Figma, UX & UI 4 min Intermediate

    Optional: keeps component state across screens and resets it between frames for multi-screen prototypes.

    A short Figma tutorial showing how to use the Component State Management feature to maintain component states across screens and reset a component state between frames. It is aimed at designers who already work with Figma components.

  11. AnjiUx 8 min Intermediate

    Optional: uses boolean variables and breakpoints to adapt a design across device sizes.

    Shows how to create boolean variables in Figma and apply them to a design, and explains breakpoints for different device sizes. Aimed at designers who already use Figma components.

When you've finished

Next path: Flexible components and responsive forms in Figma (Intermediate → Advanced)

All paths in Design Tool Workflows

Search and sort within Figma Variables, Modes and Conditional Logic

All paths
  • Learning pathBeginner → IntermediateUI

    Learn UI Basics: Colour, Layout, Type and Figma

    For beginners who want to understand interface design and build simple screens in Figma. You will be able to choose colours and type, lay out screens clearly, and polish a design.

    12 lessons · 2 hr 43 min

  • Learning pathBeginner → IntermediateDesign Systems

    Building Design Systems in Figma

    For beginners who want to understand design systems and build shared styles and components in Figma. You will be able to set up a reusable library that your team can use.

    5 lessons · 2 hr 18 min, plus 1 optional

  • Learning pathBeginnerDesign Tool Workflows

    Building Real Screens in Figma for Beginners

    This path is for beginners who want to learn the Figma editor by building real screens. You will move from the editor basics to auto layout, components, styles, variables and exporting assets for handoff.

    5 lessons · 57 min, plus 1 optional

  • Learning pathBeginnerDesign Tools Setup

    Setting Up Figma: Accounts, Files and Shortcuts

    For beginners setting up Figma for the first time. You will create an account and team, organise files, import and export designs, and pick up everyday speed tips.

    5 lessons · 40 min, plus 1 optional