How to Rename Boolean Properties in Figma

RenameVariantsAI batch renames boolean properties to match your code conventions. Apply camelCase (hasIcon), snake_case (has_icon), or custom patterns across all components.

The Problem

Boolean property names in Figma do not match code conventions

  • Figma defaults to "Show Icon" while code uses "hasIcon"
  • Inconsistent naming: "Show", "Has", "Is", "Enable" used randomly
  • Design tokens cannot map when names do not match
  • Renaming properties manually across components is tedious
Inconsistent names
Show Icon, Enable Badge, Has Border, Display Label
Code-friendly names
hasIcon, hasBadge, hasBorder, hasLabel
Step-by-Step Solution

How to Rename Boolean Properties in Figma

1

Select components

Select components with boolean properties. RenameVariantsAI finds all boolean props across your selection.

💡

Pro tip: Select your entire component library to standardize everything at once.

2

Configure naming rules

Set your target convention: camelCase hasIcon, PascalCase HasIcon, or define custom mappings.

💡

Pro tip: Import naming rules from your design token config for perfect alignment.

3

Apply and sync

Preview all changes and click Apply. All component instances update to reflect the new property names.

💡

Pro tip: Export the rename mapping for developers to update their code.

Why Use RenameVariantsAI?

Consistent boolean naming

Match code conventions exactly

Batch rename across components

Export mapping for developers

Supports all casing styles

Frequently Asked Questions

Common Questions About Rename Boolean Properties in Figma

Will this break existing instances?

No. Figma handles property renames gracefully. All instances preserve their boolean values.

Can I use prefixes other than "has"?

Yes. Define custom prefixes like "is", "show", "enable", or no prefix at all.

Does it work with instance swap properties?

RenameVariantsAI works with boolean, string, and instance swap properties.

Ready to Rename Boolean Properties in Figma?

AI-powered batch renaming for Figma layers and variants. Install RenameVariantsAI for free and start in seconds.