Figma Variants & Component Properties: Build Multi-State UI Components

image of blog Pawan Swami

UX/UI Marketing Specialist

2 Minutes Read

Listen to the Blog

Figma Variants & Component Properties: Build Multi-State UI Components
1:46

Variants allow multiple states in one component.

1. Why Variants Matter

Variants in Figma let you:

  • Combine multiple component states (e.g., Default, Hover, Disabled) in one master component
  • Switch states easily for design consistency
  • Reduce the number of separate components in your library
  • Build interactive components for prototypes and design systems

Tip: Variants + Component Properties = efficient, scalable UI design workflow.

2. Creating a Variant

  1. Select a component (e.g., a button).
  2. Click Add Variant in the right-hand panel.
  3. Set the Property name (e.g., State) and Property values (Default, Hover, Active, Disabled).
  4. Adjust each variant’s appearance individually.

01. Figma Variants & Component Properties_ Build Multi-State UI Components-1

Tip: Use consistent naming conventions for states, makes switching easier in design and prototyping.

3. Using Component Properties

Component Properties extend Variants:

  • Boolean: Toggle options (e.g., Icon On/Off, Rounded Corners)
  • Text: Override default text in instances
  • Instance Swap: Swap internal components (e.g., different icons inside a button)

How to add a property:

  1. Select a variant.
  2. Click + Add Property → choose Boolean / Text / Instance Swap.
  3. Name it logically (e.g., Icon, Label, Size).

Properties give you flexibility to reuse the same component in multiple contexts without duplicating it.

4. Practical Examples

Example 1: Button Component

  • Variants: Default, Hover, Disabled
  • Properties: Icon On/Off, Label text override

Example 2: Card Component

  • Variants: Normal, Selected, Highlighted
  • Properties: Swap image placeholder, toggle badge visibility

Example 3: Form Inputs

  • Variants: Focused, Error, Disabled
  • Properties: Placeholder text override, show/hide icon

Nested Variants + Properties make components fully interactive and adaptive.

UI/UX Designer and Marketing Specialist who combines creative design and strategy to craft engaging, conversion-driven user experiences. Passionate about clean, human-centered interfaces that deliver real results.

UX/UI Marketing Specialist

Frequently Asked Questions

Can I add multiple properties to one variant? +
Yes, you can combine Boolean, Text, and Instance Swap properties for flexibility.
How do variants improve prototyping? +
Variants allow state changes (hover, click, disabled) without creating multiple separate components.
Can I nest variants inside other components? +
Absolutely. Nested variants allow complex, reusable interactive components.
How do I update all instances if I change a variant? +
Modifying the master variant automatically updates all instances using that variant, keeping design consistent.
cm-vector

Have a specific need or challenge in mind? Let’s discuss how we can support your goals.

HubSpot Module Design Made Easy with Figma UI Kits and Templates

Get Figma UI Kits, templates, and ready-to-use components built for HubSpot designers and marketers.