Bird
Raised Fist0
Figmabi_tool~10 mins

Multi-brand design systems in Figma - Interactive Code Practice

Choose your learning style10 modes available

Start learning this pattern below

Jump into concepts and practice - no test required

or
Recommended
Test this pattern10 questions across easy, medium, and hard to know if this pattern is strong
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to create a new component variant for a brand in a multi-brand design system.

Figma
component.setVariant('[1]')
Drag options to blanks, or click blank then click option'
AcolorPrimary
BbrandA
Cvariant1
DsizeLarge
Attempts:
3 left
💡 Hint
Common Mistakes
Using a style property like 'colorPrimary' instead of the brand variant.
Confusing size or variant names with brand names.
2fill in blank
medium

Complete the code to apply the correct color style for a specific brand in the design system.

Figma
component.fillStyle = styles.get('[1]')
Drag options to blanks, or click blank then click option'
AtextColor
BprimaryColor
CbrandBColor
DbackgroundColor
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing generic color names instead of brand-specific ones.
Using text or background colors that are not brand-specific.
3fill in blank
hard

Fix the error in the code to switch the component to the correct brand variant.

Figma
component.variant = '[1]'
Drag options to blanks, or click blank then click option'
AbrandC
BBrandC
Cbrand_c
Dbrand-c
Attempts:
3 left
💡 Hint
Common Mistakes
Using incorrect casing like 'BrandC' or underscores/hyphens.
Assuming variant names are case-insensitive.
4fill in blank
hard

Fill both blanks to correctly retrieve and apply the text style for brand A in the multi-brand system.

Figma
const textStyle = styles.get('[1]');
component.textStyle = [2];
Drag options to blanks, or click blank then click option'
AbrandAText
BtextStyle
CbrandBText
DbrandATextStyle
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up style names between brands.
Assigning the style name string directly instead of the variable.
5fill in blank
hard

Fill all three blanks to create a new component instance for brand B with the correct variant and color style.

Figma
const instance = component.createInstance();
instance.variant = '[1]';
instance.fillStyle = styles.get('[2]');
instance.textStyle = [3];
Drag options to blanks, or click blank then click option'
AbrandB
BbrandBColor
CtextStyle
DbrandA
Attempts:
3 left
💡 Hint
Common Mistakes
Using brand A names instead of brand B.
Confusing string literals with variables.
Not matching variant names exactly.

Practice

(1/5)
1. What is the main purpose of a multi-brand design system in Figma?
easy
A. To create only one brand design without variations
B. To avoid using components and design everything from scratch
C. To store unrelated design files separately
D. To manage multiple brands using shared components and styles in one place

Solution

  1. Step 1: Understand multi-brand design system purpose

    It is designed to handle multiple brands efficiently by sharing components and styles.
  2. Step 2: Compare options with this purpose

    Only To manage multiple brands using shared components and styles in one place describes managing multiple brands with shared components and styles.
  3. Final Answer:

    To manage multiple brands using shared components and styles in one place -> Option D
  4. Quick Check:

    Multi-brand design system = Manage multiple brands [OK]
Hint: Think: one system, many brands, shared parts [OK]
Common Mistakes:
  • Confusing single-brand with multi-brand systems
  • Ignoring shared components concept
  • Thinking design files must be separate
2. Which syntax correctly defines a component variant for different brands in Figma?
easy
A. Component { variant: 'brandA' }
B. Component { variants: ['brandA', 'brandB'] }
C. Component.variant('brandA')
D. Component.variant = 'brandA'

Solution

  1. Step 1: Recall Figma variant syntax

    Variants are defined as a list inside the component, e.g., variants: ['brandA', 'brandB'].
  2. Step 2: Check options for correct syntax

    Only Component { variants: ['brandA', 'brandB'] } correctly shows variants as a list inside the component definition.
  3. Final Answer:

    Component { variants: ['brandA', 'brandB'] } -> Option B
  4. Quick Check:

    Variants list syntax = Component { variants: ['brandA', 'brandB'] } [OK]
Hint: Variants are arrays inside component braces [OK]
Common Mistakes:
  • Using dot notation incorrectly
  • Assigning variant as a single string
  • Calling variant like a function
3. Given a multi-brand design system with shared button components having variants 'brandA' and 'brandB', what happens if you change the primary color in the shared style?
medium
A. The primary color updates for all brands using that shared style
B. Only brandA buttons update, brandB stays the same
C. No buttons update until you manually change each variant
D. The shared style breaks and components lose color

Solution

  1. Step 1: Understand shared styles in multi-brand systems

    Shared styles apply changes globally to all components using them.
  2. Step 2: Apply this to button variants

    Changing the primary color in the shared style updates all variants using that style.
  3. Final Answer:

    The primary color updates for all brands using that shared style -> Option A
  4. Quick Check:

    Shared style change = global update [OK]
Hint: Shared styles update all linked variants automatically [OK]
Common Mistakes:
  • Thinking variants are independent of shared styles
  • Assuming manual update needed per variant
  • Believing style changes break components
4. You notice that after adding a new brand variant to a button component, the variant does not appear in the component dropdown. What is the most likely cause?
medium
A. The new variant was not properly added to the component set
B. The component set was deleted accidentally
C. The Figma file is corrupted and needs repair
D. Variants only show after restarting Figma

Solution

  1. Step 1: Check how variants appear in Figma

    Variants must be added inside the component set to appear in dropdown.
  2. Step 2: Identify common mistakes

    If variant is missing, it usually means it was not added correctly to the set.
  3. Final Answer:

    The new variant was not properly added to the component set -> Option A
  4. Quick Check:

    Missing variant = not added to set [OK]
Hint: Add variants inside component set to see them [OK]
Common Mistakes:
  • Assuming file corruption without checking variant setup
  • Restarting Figma unnecessarily
  • Deleting component sets accidentally
5. You want to create a multi-brand design system that supports three brands with unique color palettes but shared button shapes and sizes. What is the best approach to organize your Figma components and styles?
hard
A. Use only one brand's colors and ignore others to simplify design
B. Create separate button components for each brand with duplicated shapes and sizes
C. Create one button component with color variants for each brand and shared shape and size styles
D. Create button components without variants and manually change colors each time

Solution

  1. Step 1: Identify shared and unique elements

    Button shapes and sizes are shared; colors differ by brand.
  2. Step 2: Use variants for brand colors

    Create one button component with color variants for each brand to avoid duplication.
  3. Step 3: Apply shared styles for shape and size

    Use shared styles for shape and size to keep consistency and easy updates.
  4. Final Answer:

    Create one button component with color variants for each brand and shared shape and size styles -> Option C
  5. Quick Check:

    Variants for colors + shared styles for shape = Create one button component with color variants for each brand and shared shape and size styles [OK]
Hint: Use variants for colors, shared styles for shape and size [OK]
Common Mistakes:
  • Duplicating components for each brand causing maintenance issues
  • Ignoring variants and manual color changes
  • Mixing unrelated styles causing confusion