Text Auto Fill
Automate your design content. Fill text, colors, and visibility from rules or a CSV file
Plugin Preview
About this plugin
Figma Auto Text Plugin - Complete Guide
Overview
This plugin allows you to automatically fill frames with text and control visibility of elements using two modes: Text Rules and Excel/CSV.
Important Naming Convention
- Variables (text elements) must start with
$
(e.g.,$Product Name
,$Price
) - Groups (frames/groups) must start with
#
(e.g.,#Specifications
,#Features
) - Elements without
$
or#
are not affected by the plugin
MODE 1: TEXT RULES
Basic Syntax
1. Change Text Content
This will find text elements named $Product Name
and $Price
and replace their content.
2. Show/Hide Elements
Hide element (add // prefix):
Show element (just write its name):
Important: When you change text, color, or stroke of an element, it automatically becomes visible!
3. Change Colors
Fill color:
Stroke color:
Global color replacement:
This will replace all red colors with green in selected frames.
Advanced Examples
Working with Nested Elements
If you have structure like:
You can access nested elements using dot notation:
Complete Example
MODE 2: EXCEL/CSV
File Structure
Your Excel/CSV file MUST have these columns:
object________title_______________[custom columns]
$main 1_______Oil_5W30_A_______[...]
$main 2_______Oil_5W40_B_______[...]
- object (required): Frame name to fill
- title (required): New name for the frame
- custom columns: Your variables and groups
Column Types
1. Simple Text Variables
Column name: $Product Name
Cell value: Motor Oil Premium
Example:
object________title___________$Product Name_______$Price
$main 1_______Card_01_______Motor Oil 5W-30_______$29.99
2. Group with Visible Elements
Column name: #Features
Cell value: $Feature1;$Feature2
This will:
- Show the #Features group
- Show only $Feature1 and $Feature2 inside it
- Hide all other elements in the group
Example:
object________title___________#Features
$main 1_______Card_01_______$Engine Protection;$Fuel Economy
3. Groups with Values
Column name: #Specifications
Cell value: #Spec 1.$Title: API SN;#Spec 1.$Value: Plus
Example:
object________title___________#Specifications
$main 1_______Card_01_______#Spec 1.$Title: Viscosity;#Spec 1.$Value:
..................................................5W-30;#Spec 2.$Title: Volume;#Spec 2.$Value: 4L
Step-by-Step Instructions
For Text Rules Mode:
- Select frames in Figma that you want to modify
- Choose "Text Rules" mode in plugin
- Write your rules following the syntax above
- Click "Apply"
For Excel Mode:
- Prepare your frames:
- Name them starting with $ (e.g., $main 1, $card template)
- Name all variables with $ prefix
- Name all groups with # prefix
- Create Excel/CSV file:
- First column: object (frame names)
- Second column: title (new names for frames)
- Other columns: your variables and groups
- In plugin:
- Select all frames you want to fill
- Choose "Excel/CSV" mode
- Upload your file
- Click "Apply"
Pro Tips
1. Visibility Logic
- Elements with
$
or#
are hidden by default
To show them, either:
- List their names
- Change their content
- Include them in Excel columns
2. Multiple Values in Excel
Separate multiple items with semicolon:
3. Complex Nested Structures
For deep nesting in Excel:
FAQ
Q: My elements aren't changing
A: Check that names start with $
or #
Q: Excel import says "Object not found"
A: Make sure frame names in Excel match exactly with Figma frame names
Q: Changes are very slow
A: Reduce the number of nested groups or split your Excel file into smaller batches
Q: Some elements stay visible when they shouldn't
A: Check for typos in names and make sure you use //
prefix to hide elements explicitly
Plugin Details
Version | 13 |
---|---|
Created | May 6, 2025 |
Last Updated | September 27, 2025 |
Category | design-tools-other |
Creator | Павел Котов |
Stats | 15 installs, 0 likes |
Pricing | Free |
Technical Details
- API:1.0.0
- UI:src/ui.html
- main:src/code.js
- Document Access:dynamic-page
- Editor Types:figma
- Allowed Domains:
- none
More Like This
Discover other plugins in the design-tools-other category.