Bird
Raised Fist0
Figmabi_tool~10 mins

Style organization and naming conventions in Figma - Cell-by-Cell Formula Trace

Choose your learning style10 modes available
Sample Data

This data represents a style naming convention for buttons in a design system, showing hierarchical organization and color values.

CellValue
A1Button/Primary/Default
A2Button/Primary/Hover
A3Button/Secondary/Default
A4Button/Secondary/Hover
B1#0055FF
B2#0041CC
B3#AAAAAA
B4#888888
Formula Trace
Concatenate('Button/', ButtonType, '/', State)
Step 1: ButtonType = 'Primary'
Step 2: State = 'Hover'
Step 3: Concatenate('Button/', 'Primary', '/', 'Hover')
Cell Reference Map
   A                  B
1  Button/Primary/Default  #0055FF
2  Button/Primary/Hover    #0041CC
3  Button/Secondary/Default #AAAAAA
4  Button/Secondary/Hover  #888888

References: ButtonType and State values used to build style names in column A.
The style names in column A are built from parts like ButtonType and State, which define the style's purpose and interaction state.
Result
   A                  B
1  Button/Primary/Default  #0055FF
2  Button/Primary/Hover    #0041CC  <-- Result of concatenation formula
3  Button/Secondary/Default #AAAAAA
4  Button/Secondary/Hover  #888888
The final style name 'Button/Primary/Hover' clearly shows the organization: component type, variant, and state.
Sheet Trace Quiz - 3 Questions
Test your understanding
What does the 'Primary' part in 'Button/Primary/Hover' represent?
AThe hover state
BThe color code
CThe button type or variant
DThe font size
Key Result
Concatenate component type, variant, and state with slashes to create organized style names.

Practice

(1/5)
1. Why is it important to use clear and consistent naming conventions for styles in Figma?
easy
A. It changes the colors of the styles.
B. It makes the file size smaller.
C. It automatically fixes design errors.
D. It helps find and reuse styles quickly, saving time and keeping designs consistent.

Solution

  1. Step 1: Understand the purpose of naming conventions

    Clear and consistent names help users quickly identify and reuse styles without confusion.
  2. Step 2: Connect naming to design consistency

    Using good names ensures styles are reused properly, keeping the design uniform across the project.
  3. Final Answer:

    It helps find and reuse styles quickly, saving time and keeping designs consistent. -> Option D
  4. Quick Check:

    Clear naming = easy reuse [OK]
Hint: Good names save time and keep designs uniform [OK]
Common Mistakes:
  • Thinking naming affects file size
  • Believing naming fixes design errors
  • Assuming naming changes style colors
2. Which of the following is the correct way to organize styles using categories and subcategories in Figma?
easy
A. Button-Primary-Active
B. Button/Primary/Active
C. Button Primary Active
D. Button.Primary.Active

Solution

  1. Step 1: Identify the correct separator for categories

    Figma uses slashes (/) to separate categories and subcategories in style names.
  2. Step 2: Compare options with Figma naming rules

    Only Button/Primary/Active uses slashes correctly to organize styles hierarchically.
  3. Final Answer:

    Button/Primary/Active -> Option B
  4. Quick Check:

    Use slashes (/) for style categories [OK]
Hint: Use slashes (/) to separate style categories [OK]
Common Mistakes:
  • Using dashes or dots instead of slashes
  • Using spaces without separators
  • Mixing separators inconsistently
3. Given these style names in Figma: Text/Heading/H1, Text/Heading/H2, Button/Primary/Default, which style will appear first in the style list when sorted alphabetically?
medium
A. Button/Primary/Default
B. Text/Heading/H1
C. Text/Heading/H2
D. They all appear at the same time

Solution

  1. Step 1: Understand alphabetical sorting in Figma

    Styles are sorted alphabetically from left to right, starting with the first category.
  2. Step 2: Compare the first parts of each style name

    "Button" comes before "Text" alphabetically, so any style starting with "Button" appears before "Text" styles.
  3. Final Answer:

    Button/Primary/Default -> Option A
  4. Quick Check:

    Alphabetical order starts with first word [OK]
Hint: Alphabetical order sorts by first word first [OK]
Common Mistakes:
  • Assuming H1 comes before Button
  • Thinking subcategories affect order first
  • Believing all styles appear simultaneously
4. You notice your Figma styles are named inconsistently: some use spaces, others use slashes, and some use dashes. What is the best way to fix this?
medium
A. Rename all styles to use slashes consistently for categories and subcategories.
B. Leave them as is because Figma accepts all formats.
C. Use spaces only because they look cleaner.
D. Use dashes only because they are shorter.

Solution

  1. Step 1: Identify the recommended naming convention

    Figma recommends using slashes (/) to organize styles into categories and subcategories clearly.
  2. Step 2: Apply consistent naming across all styles

    Renaming all styles to use slashes ensures easy navigation and reuse, avoiding confusion.
  3. Final Answer:

    Rename all styles to use slashes consistently for categories and subcategories. -> Option A
  4. Quick Check:

    Consistent slashes improve style organization [OK]
Hint: Fix inconsistent names by using slashes everywhere [OK]
Common Mistakes:
  • Ignoring inconsistent naming
  • Using spaces or dashes inconsistently
  • Thinking Figma accepts all naming equally
5. You have these styles in Figma: Color/Primary/Light, Color/Primary/Dark, Color/Secondary/Light, Color/Secondary/Dark. You want to create a new style for a medium shade between light and dark for Primary colors only. What is the best naming convention to keep your styles organized?
hard
A. Primary/Color/Medium
B. Color/PrimaryMedium
C. Color/Primary/Medium
D. Color-Medium-Primary

Solution

  1. Step 1: Follow existing naming pattern

    Current styles use the pattern Category/Subcategory/Variant with slashes.
  2. Step 2: Insert new variant in the same subcategory

    Adding "Medium" as a variant under "Primary" keeps the naming consistent and organized.
  3. Final Answer:

    Color/Primary/Medium -> Option C
  4. Quick Check:

    Match existing pattern for new styles [OK]
Hint: Match existing slash pattern for new style names [OK]
Common Mistakes:
  • Combining words without slashes
  • Changing category order
  • Using dashes instead of slashes
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard