Component Properties & Variants
Master Figma Component Properties and Variants Effectively
Component Property Types Overview
Text Properties
Define customizable text elements that users can modify. Essential for buttons, labels, and dynamic content components.
Boolean Properties
Create true/false toggle switches for component states. Perfect for showing/hiding icons, changing appearances, or controlling visibility.
Instance Swap Properties
Allow users to swap nested components with alternatives. Ideal for icons, images, or any interchangeable design elements.
Variant Properties
Group similar components into organized containers. Simplifies component libraries and improves discoverability for design teams.
While you can modify component instances directly, using component properties creates a scalable, user-friendly design system that clearly defines what aspects should change.
File Access Methods
Desktop App Navigation
Click the Home tab or use File menu to access the file browser on Mac systems.
Web App Navigation
Click the Main menu button at top left and choose Back to files option.
Import Local Files
Use Import file button near top right to navigate to Desktop > Class Files > Figma Class folder.
Variants allow you to group and organize similar components into a single container. This simplifies your component library and makes it easier for everyone to find what they need.
Button Variant Structure
Color Variants
Three distinct color options: Black, Brown, and Gray. Each uses predefined color styles for consistency across the design system.
Appearance Variants
Solid and outline appearances for each color. Outline variants use 3px inside strokes with white backgrounds for clarity.
When switching between variants, existing text overrides are automatically preserved, maintaining your custom content while updating the component appearance.
Text Property Implementation Strategy
| Feature | With Text Property | Without Text Property |
|---|---|---|
| User Clarity | Clear editing permission | Ambiguous editing rules |
| Design System Control | Controlled customization | Uncontrolled modifications |
| Team Collaboration | Obvious interaction points | Guesswork required |
Outline Variant Creation Process
Duplicate Base Variants
Select all variants and Option/ALT drag to create copies for outline versions.
Swap Fill and Stroke
Use Object menu to swap fill and stroke, then set 3px inside stroke weight.
Adjust Colors and Background
Change text to black, add white background fill for proper contrast and visibility.
Buttons built with auto layout allow easy arrow placement. Use Option/ALT drag or copy-paste to add icons efficiently across multiple variants.
Boolean vs Variant Properties
Boolean Implementation
Creates simple toggle switches for true/false states. Perfect for the Has Icon property with clear on/off functionality.
Variant Flexibility
Appearance property uses variant structure for future expandability. Can accommodate additional styles beyond Solid and Outline.
Instance Swap Setup Requirements
Use target button to select corresponding elements in all component instances
Name it Icon and set default value to current component name
Include email icon and other available components for swapping options
Key Takeaways

Home tab (Mac users can also choose File > Open File Browser).
and choose Back to files.
Import file (located near the top right).
button.
below the selected text to automatically select the corresponding text elements across all three variants.
.

to 3 for sufficient visual weight
to hide and show the arrow.