Figma Variant Matrix Skill
Defines all variants, properties, and states a component needs before building it in Figma — preventing missing variants discovered after the component is already used across 40 screens.
Required Inputs
- Component name (Button, Card, Input, Badge, Navigation item, etc.)
- Component purpose (what does it do, where is it used?)
- Platform (iOS / Android / Web / Multi-platform)
- Design system context (standalone / part of existing system)
Output Structure
1. Component Overview
Name, category (Interactive/Display/Layout/Form/Navigation/Feedback), used in contexts.
2. Variant Properties
| Property |
Values |
Notes |
| Type |
Primary, Secondary, Tertiary, Destructive |
|
| Size |
Large, Medium, Small |
|
| State |
Default, Hover, Active, Disabled, Loading |
|
| Icon |
None, Leading, Trailing, Only |
|
Total combinations: [N]. Flag if over 50 — consider splitting into multiple components.
3. State Definitions
For each state, list only what changes from Default:
- Default: [Full visual spec]
- Hover (web): [Delta from default]
- Active/Pressed: [Delta]
- Disabled: [Delta — use layer-level properties, not opacity on whole component]
- Loading: [What replaces label, interactive during loading?]
- Error (forms): [Border colour, helper text, icon changes]
4. Anatomy Breakdown
| Layer name |
Purpose |
Required? |
Notes |
| container |
Background and bounds |
Yes |
|
| label |
Text |
Conditional |
Hide when icon-only |
| icon-leading |
Leading icon slot |
No |
|
5. Token Mapping
| Property |
Token |
Fallback |
| Background default |
color.brand.primary |
#hex |
| Border radius |
radius.medium |
8px |
6. Build Order
- Default state, most common variant
- Convert to component, add properties
- Size variants
- State variants
- Type variants
- Icon slot variants last
Quality Checks
Anti-Patterns
Example Trigger Phrases
- "Define the variants for a [component] in Figma"
- "What states does my [component] need?"
- "Help me plan the variant matrix for [component]"
- "Set up the Figma properties for a [button/card/input]"
- "What are all the combinations I need for my [component]?"
1---2name: figma-variant-matrix-23description: "Define component variants and states systematically for Figma. Use when asked to plan component variants, define states for a component, set up a Figma variant matrix, or work out what properties a component needs before building it. Produces a complete variant matrix with all properties, values, and combinations needed."4homepage: https://mohitagw15856.github.io/pm-claude-skills/skill/figma-variant-matrix.html5metadata:6 source: https://skillmd.com/skills/mohitagw15856/figma-variant-matrix-27 openclaw:8 emoji: 🎨9---1011# Figma Variant Matrix Skill1213Defines all variants, properties, and states a component needs before building it in Figma — preventing missing variants discovered after the component is already used across 40 screens.1415## Required Inputs1617- **Component name** (Button, Card, Input, Badge, Navigation item, etc.)18- **Component purpose** (what does it do, where is it used?)19- **Platform** (iOS / Android / Web / Multi-platform)20- **Design system context** (standalone / part of existing system)2122## Output Structure2324### 1. Component Overview25Name, category (Interactive/Display/Layout/Form/Navigation/Feedback), used in contexts.2627### 2. Variant Properties2829| Property | Values | Notes |30|---|---|---|31| Type | Primary, Secondary, Tertiary, Destructive | |32| Size | Large, Medium, Small | |33| State | Default, Hover, Active, Disabled, Loading | |34| Icon | None, Leading, Trailing, Only | |3536Total combinations: [N]. Flag if over 50 — consider splitting into multiple components.3738### 3. State Definitions3940For each state, list only what changes from Default:41- Default: [Full visual spec]42- Hover (web): [Delta from default]43- Active/Pressed: [Delta]44- Disabled: [Delta — use layer-level properties, not opacity on whole component]45- Loading: [What replaces label, interactive during loading?]46- Error (forms): [Border colour, helper text, icon changes]4748### 4. Anatomy Breakdown4950| Layer name | Purpose | Required? | Notes |51|---|---|---|---|52| container | Background and bounds | Yes | |53| label | Text | Conditional | Hide when icon-only |54| icon-leading | Leading icon slot | No | |5556### 5. Token Mapping5758| Property | Token | Fallback |59|---|---|---|60| Background default | color.brand.primary | #hex |61| Border radius | radius.medium | 8px |6263### 6. Build Order641. Default state, most common variant652. Convert to component, add properties663. Size variants674. State variants685. Type variants696. Icon slot variants last7071## Quality Checks72- [ ] All interactive states defined73- [ ] Total variant count calculated, flagged if over 5074- [ ] Every layer named semantically75- [ ] Token mapping covers all visual properties76- [ ] Disabled state uses layer-level properties not opacity7778## Anti-Patterns7980- [ ] Do not create a variant matrix with properties that overlap or conflict — each property must be independently variable81- [ ] Do not use opacity for disabled states — disabled states must use layer-level properties, not opacity82- [ ] Do not enumerate every mathematical combination if many are invalid — document only valid, buildable combinations83- [ ] Do not define variants without considering responsive behaviour — specify which properties change across screen sizes84- [ ] Do not produce a matrix without Figma implementation guidance — variant naming conventions must follow Figma's property system8586## Example Trigger Phrases87- "Define the variants for a [component] in Figma"88- "What states does my [component] need?"89- "Help me plan the variant matrix for [component]"90- "Set up the Figma properties for a [button/card/input]"91- "What are all the combinations I need for my [component]?"