#513 by GitHub stars
figma/mcp-server-guide
A guide on how to use the Figma MCP server
History
Review weekly changes to SKILL.md before updating. Dates mark the weeks in which we observed each version; checks apply to the recorded commits.
View weekly changes
skills-figquery/figma-code-connect/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Network or broad shell → After Network or broad shell
f3f264d9cbae → 19be8d51c6a2
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Network or broad shell
First observation → f3f264d9cbae
No earlier version was observed for comparison.
skills-figquery/figma-code-workflows/SKILL.md
Week of Nov 2, 2026 · Line counts unavailable
Before Not checked yet → After Network or broad shell
First observation → 19be8d51c6a2
No earlier version was observed for comparison.
skills-figquery/figma-create-new-file/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Instructions only → After Instructions only
f3f264d9cbae → 19be8d51c6a2
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
First observation → f3f264d9cbae
No earlier version was observed for comparison.
skills-figquery/figma-design-to-code/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Instructions only → After Instructions only
f3f264d9cbae → 19be8d51c6a2
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
First observation → f3f264d9cbae
No earlier version was observed for comparison.
skills-figquery/figma-generate-design/SKILL.md
Week of Nov 2, 2026 · +251 / −133 lines
Before Network or broad shell → After Network or broad shell
f3f264d9cbae → 19be8d51c6a2
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
This preview is limited. See the complete change on GitHub.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Network or broad shell
First observation → f3f264d9cbae
No earlier version was observed for comparison.
skills-figquery/figma-generate-diagram/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Instructions only → After Instructions only
f3f264d9cbae → 19be8d51c6a2
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
First observation → f3f264d9cbae
No earlier version was observed for comparison.
skills-figquery/figma-generate-library/SKILL.md
Week of Nov 2, 2026 · +108 / −141 lines
Before Network or broad shell → After Network or broad shell
f3f264d9cbae → 19be8d51c6a2
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
This preview is limited. See the complete change on GitHub.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Network or broad shell
First observation → f3f264d9cbae
No earlier version was observed for comparison.
skills-figquery/figma-generative-plugins/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Instructions only → After Instructions only
f3f264d9cbae → 19be8d51c6a2
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
First observation → f3f264d9cbae
No earlier version was observed for comparison.
skills-figquery/figma-implement-motion/SKILL.md
Week of Nov 2, 2026 · +6 / −3 lines
Before Network or broad shell → After Network or broad shell
f3f264d9cbae → 19be8d51c6a2
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Network or broad shell
First observation → f3f264d9cbae
No earlier version was observed for comparison.
skills-figquery/figma-shaders/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Instructions only → After Instructions only
f3f264d9cbae → 19be8d51c6a2
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
First observation → f3f264d9cbae
No earlier version was observed for comparison.
skills-figquery/figma-spec/SKILL.md
Week of Nov 2, 2026 · Line counts unavailable
Before Not checked yet → After Network or broad shell
First observation → 19be8d51c6a2
No earlier version was observed for comparison.
skills-figquery/figma-swiftui/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Instructions only → After Network or broad shell
f3f264d9cbae → 19be8d51c6a2
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
First observation → f3f264d9cbae
No earlier version was observed for comparison.
skills-figquery/figma-use/SKILL.md
Week of Nov 2, 2026 · +74 / −50 lines
Before Network or broad shell → After Network or broad shell
f3f264d9cbae → 19be8d51c6a2
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
This preview is limited. See the complete change on GitHub.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Network or broad shell
First observation → f3f264d9cbae
No earlier version was observed for comparison.
skills-figquery/figma-use-figjam/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Network or broad shell → After Network or broad shell
f3f264d9cbae → 19be8d51c6a2
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Network or broad shell
First observation → f3f264d9cbae
No earlier version was observed for comparison.
skills-figquery/figma-use-motion/SKILL.md
Week of Nov 2, 2026 · +17 / −4 lines
Before Instructions only → After Network or broad shell
f3f264d9cbae → 19be8d51c6a2
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
First observation → f3f264d9cbae
No earlier version was observed for comparison.
skills-figquery/figma-use-slides/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Instructions only → After Instructions only
f3f264d9cbae → 19be8d51c6a2
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
First observation → f3f264d9cbae
No earlier version was observed for comparison.
skills/figma-code-connect/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Network or broad shell → After Network or broad shell
f3f264d9cbae → 19be8d51c6a2
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Network or broad shell
First observation → f3f264d9cbae
No earlier version was observed for comparison.
skills/figma-code-workflows/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Instructions only → After Instructions only
f3f264d9cbae → 19be8d51c6a2
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
First observation → f3f264d9cbae
No earlier version was observed for comparison.
skills/figma-create-new-file/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Instructions only → After Instructions only
f3f264d9cbae → 19be8d51c6a2
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
First observation → f3f264d9cbae
No earlier version was observed for comparison.
skills/figma-design-to-code/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Instructions only → After Instructions only
f3f264d9cbae → 19be8d51c6a2
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
First observation → f3f264d9cbae
No earlier version was observed for comparison.
skills/figma-generate-design/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Network or broad shell → After Network or broad shell
f3f264d9cbae → 19be8d51c6a2
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Network or broad shell
First observation → f3f264d9cbae
No earlier version was observed for comparison.
skills/figma-generate-diagram/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Instructions only → After Instructions only
f3f264d9cbae → 19be8d51c6a2
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
First observation → f3f264d9cbae
No earlier version was observed for comparison.
skills/figma-generate-library/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Network or broad shell → After Network or broad shell
f3f264d9cbae → 19be8d51c6a2
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Network or broad shell
First observation → f3f264d9cbae
No earlier version was observed for comparison.
skills/figma-generative-plugins/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Instructions only → After Instructions only
f3f264d9cbae → 19be8d51c6a2
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
First observation → f3f264d9cbae
No earlier version was observed for comparison.
skills/figma-implement-motion/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Network or broad shell → After Network or broad shell
f3f264d9cbae → 19be8d51c6a2
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Network or broad shell
First observation → f3f264d9cbae
No earlier version was observed for comparison.
skills/figma-shaders/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Instructions only → After Instructions only
f3f264d9cbae → 19be8d51c6a2
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
First observation → f3f264d9cbae
No earlier version was observed for comparison.
skills/figma-spec/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Instructions only → After Instructions only
f3f264d9cbae → 19be8d51c6a2
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
First observation → f3f264d9cbae
No earlier version was observed for comparison.
skills/figma-swiftui/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Network or broad shell → After Network or broad shell
f3f264d9cbae → 19be8d51c6a2
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Network or broad shell
First observation → f3f264d9cbae
No earlier version was observed for comparison.
skills/figma-use/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Network or broad shell → After Network or broad shell
f3f264d9cbae → 19be8d51c6a2
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Network or broad shell
First observation → f3f264d9cbae
No earlier version was observed for comparison.
skills/figma-use-figjam/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Network or broad shell → After Network or broad shell
f3f264d9cbae → 19be8d51c6a2
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Network or broad shell
First observation → f3f264d9cbae
No earlier version was observed for comparison.
skills/figma-use-motion/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Instructions only → After Instructions only
f3f264d9cbae → 19be8d51c6a2
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
First observation → f3f264d9cbae
No earlier version was observed for comparison.
skills/figma-use-slides/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Instructions only → After Instructions only
f3f264d9cbae → 19be8d51c6a2
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
First observation → f3f264d9cbae
No earlier version was observed for comparison.
workflow-skills/generate-project-plan/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Network or broad shell → After Network or broad shell
f3f264d9cbae → 19be8d51c6a2
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Network or broad shell
First observation → f3f264d9cbae
No earlier version was observed for comparison.
workflow-skills/video-interaction-mapper/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Local scripts → After Local scripts
f3f264d9cbae → 19be8d51c6a2
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Local scripts
First observation → f3f264d9cbae
No earlier version was observed for comparison.
Verified commit 19be8d51c6a2f8ca949d33e5cd8e9662c5d243e8
git clone --filter=blob:none --no-checkout https://github.com/figma/mcp-server-guide.git .hotskills/figma-mcp-server-guide && git -C .hotskills/figma-mcp-server-guide checkout --detach 19be8d51c6a2f8ca949d33e5cd8e9662c5d243e8
# Copy each selected skill directory from .hotskills/figma-mcp-server-guide into .claude/skills/<skill-name>/git clone --filter=blob:none --no-checkout https://github.com/figma/mcp-server-guide.git .hotskills/figma-mcp-server-guide && git -C .hotskills/figma-mcp-server-guide checkout --detach 19be8d51c6a2f8ca949d33e5cd8e9662c5d243e8
# Copy each selected skill directory from .hotskills/figma-mcp-server-guide into .gemini/skills/<skill-name>/Heat
6.7- Star growth, last 7 daysAhead of 86% of tracked repositories
- Star growth, last 24 hoursAhead of 85% of tracked repositories
- Rank movement, last 7 daysAhead of 48% of tracked repositories
- Commits, last 30 daysAhead of 75% of tracked repositories
- Accounts asking about it through MCP, last 7 daysNot available
- Hot votes this weekAhead of 0% of tracked repositories
Heat never changes the order by stars, and sponsorship never touches it. How heat works
Stars over time
Individual skills in this repository
- figma-code-connect
skills-figquery/figma-code-connect - figma-code-workflows
skills-figquery/figma-code-workflows - figma-create-new-file
skills-figquery/figma-create-new-file - figma-design-to-code
skills-figquery/figma-design-to-code - figma-generate-design
skills-figquery/figma-generate-design - figma-generate-diagram
skills-figquery/figma-generate-diagram - figma-generate-library
skills-figquery/figma-generate-library - figma-generative-plugins
skills-figquery/figma-generative-plugins - figma-implement-motion
skills-figquery/figma-implement-motion - figma-shaders
skills-figquery/figma-shaders - figma-spec
skills-figquery/figma-spec - figma-swiftui
skills-figquery/figma-swiftui - figma-use
skills-figquery/figma-use - figma-use-figjam
skills-figquery/figma-use-figjam - figma-use-motion
skills-figquery/figma-use-motion - figma-use-slides
skills-figquery/figma-use-slides - figma-code-connect
skills/figma-code-connect - figma-code-workflows
skills/figma-code-workflows - figma-create-new-file
skills/figma-create-new-file - figma-design-to-code
skills/figma-design-to-code - figma-generate-design
skills/figma-generate-design - figma-generate-diagram
skills/figma-generate-diagram - figma-generate-library
skills/figma-generate-library - figma-generative-plugins
skills/figma-generative-plugins - figma-implement-motion
skills/figma-implement-motion - figma-shaders
skills/figma-shaders - figma-spec
skills/figma-spec - figma-swiftui
skills/figma-swiftui - figma-use
skills/figma-use - figma-use-figjam
skills/figma-use-figjam - figma-use-motion
skills/figma-use-motion - figma-use-slides
skills/figma-use-slides - generate-project-plan
workflow-skills/generate-project-plan - video-interaction-mapper
workflow-skills/video-interaction-mapper
How it works
figma-code-connect
When your agent uses it
Creates and maintains Figma Code Connect template files that map Figma components to code snippets. Use when the user mentions Code Connect, Figma component mapping, design-to-code translation, or asks to create/update .figma.ts or .figma.js files.
What it loads into context
Frontmatter
68 tokensAlways available to the agent
SKILL.md
6,508 tokensWhen the skill is activated
Reference documents
8,057 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Overview
- Prerequisites
- Step 1: Parse the Figma URL
- Step 2: Discover Unmapped Components
- Step 3: Fetch Component Properties
- Step 4: Identify the Code Component
- Step 5: Create the Template File (.figma.ts)
- Step 6: Validate
- Inline Quick Reference
- Rules and Pitfalls
- Complete Worked Example
- Additional Reference
Files
../../.claude-plugin/plugin.jsonasset179 bytesSKILL.mdcore26,669 bytesSKILL.mdcore26,669 bytesSKILL.mdcore26,669 bytesSKILL.mdcore26,669 bytesSKILL.mdcore26,669 bytesSKILL.mdcore26,669 bytesreferences/advanced-patterns.mddoc10,069 bytesreferences/api.mddoc23,396 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubfigma-code-workflows
When your agent uses it
Import or upload local HTML or project files into Figma, choose editable Design frames, runnable Code Layers or standalone Code (also known as Make), and repair imported previews. Use only when the user explicitly names editable Design layers, a runnable Code Layer, or a standalone Code/Make file, or supplies a Figma file key/link as the import destination. Generic code or code-component requests need output clarification before using this workflow.
What it loads into context
Frontmatter
102 tokensAlways available to the agent
SKILL.md
914 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- 1. Choose the output and destination
- 2. Follow the import response
Files
SKILL.mdcore4,582 bytesSKILL.mdcore4,582 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubfigma-create-new-file
When your agent uses it
Always use this skill when the user wants to create a new Figma Design, FigJam, or Slides file. You MUST invoke this skill BEFORE every `create_new_file` tool call.
What it loads into context
Frontmatter
56 tokensAlways available to the agent
SKILL.md
462 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Step 1: Resolve the `planKey` and `editorType`
- Step 2: Call create_new_file
- Step 3: (Slides only) Handle the empty grid
Files
SKILL.mdcore1,841 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubfigma-design-to-code
When your agent uses it
**MANDATORY prerequisite** — you MUST invoke this skill BEFORE calling the `get_design_context` Figma MCP tool. You MUST trigger this skill whenever the user wants to implement, build, port, or code up a Figma design as code. Example prompts (not exhaustive) are 'implement this Figma design', 'build this screen from Figma', 'turn this Figma into code', 'design to code'. This skill provides critical instructions and steps to the agent on how to correctly implement Figma designs in code and must NOT be skipped.
What it loads into context
Frontmatter
128 tokensAlways available to the agent
SKILL.md
804 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Context
- Implementation
- Verification
Files
SKILL.mdcore4,066 bytesSKILL.mdcore4,066 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubfigma-generate-design
When your agent uses it
Use this skill alongside figma-use when the task involves translating an application page, view, or multi-section layout into Figma. Triggers: 'write to Figma', 'create in Figma from code', 'push page to Figma', 'take this app/page and build it in Figma', 'create a screen', 'build a landing page in Figma', 'update the Figma screen to match code', 'convert this modal/dialog/drawer/panel to Figma'. This is the preferred workflow skill whenever the user wants to build or update a full page, modal, dialog, drawer, sidebar, panel, form, dashboard, list, table, card, header, message preview, or other composed product UI in Figma from code or a description—even when the user calls that composed UI a component. Discovers design system components, variables, and styles from Code Connect files, existing screens, and library search, then imports them and assembles views incrementally section-by-section using design system tokens instead of hardcoded values.
What it loads into context
Frontmatter
228 tokensAlways available to the agent
SKILL.md
9,639 tokensWhen the skill is activated
Reference documents
68,489 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Image assets
- HTML-to-Figma Exceptions
- Skill Boundaries
- Prerequisites
- Parallel Workflow with generate_figma_design (Web Apps Only)
- Required Workflow
- Reference Docs
- Error Recovery
- Best Practices
Files
../figma-code-connect/SKILL.mddoc26,669 bytesSKILL.mdcore42,454 bytesSKILL.mdcore42,454 bytesSKILL.mdcore42,454 bytesSKILL.mdcore42,454 bytesSKILL.mdcore42,454 bytesSKILL.mdcore42,454 bytesSKILL.mdcore42,454 bytesSKILL.mdcore42,454 bytesSKILL.mdcore42,454 bytesSKILL.mdcore42,454 bytesSKILL.mdcore42,454 bytesSKILL.mdcore42,454 bytesSKILL.mdcore42,454 bytesSKILL.mdcore42,454 bytesSKILL.mdcore42,454 bytesSKILL.mdcore42,454 bytesSKILL.mdcore42,454 bytesSKILL.mdcore42,454 bytesSKILL.mdcore42,454 bytesSKILL.mdcore42,454 bytesSKILL.mdcore42,454 bytesSKILL.mdcore42,454 bytesSKILL.mdcore42,454 bytesSKILL.mdcore42,454 bytesSKILL.mdcore42,454 bytesSKILL.mdcore42,454 bytesSKILL.mdcore42,454 bytesSKILL.mdcore42,454 bytesreferences/componentization.mddoc10,130 bytesreferences/discover-product-font.mddoc4,791 bytes../figma-generate-library/SKILL.mddoc25,209 bytes../figma-generate-library/references/component-creation.mddoc39,303 bytes../figma-use/SKILL.mddoc33,062 bytes../figma-use/references/component-patterns.mddoc26,476 bytes../figma-use/references/effect-style-patterns.mddoc2,574 bytes../figma-use/references/fig-builder.mddoc39,019 bytes../figma-use/references/gotchas.mddoc53,636 bytes../figma-use/references/text-style-patterns.mddoc5,914 bytes../figma-use/references/variable-patterns.mddoc14,937 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubfigma-generate-diagram
When your agent uses it
MANDATORY prerequisite — load this skill BEFORE every `generate_diagram` tool call. NEVER call `generate_diagram` directly without loading this skill first. Trigger whenever the user asks to create, generate, draw, render, sketch, or build a diagram — flowchart, architecture diagram, sequence diagram, ERD or entity-relationship diagram, state diagram or state machine, gantt chart, or timeline. Also trigger when the user mentions Mermaid syntax or wants a system architecture, decision tree, dependency graph, API call flow, auth handshake, schema, or pipeline visualized in FigJam. Routes to type-specific guidance, sets universal Mermaid constraints, and tells you when to use a different diagram type or skip the tool entirely (mindmaps, pie charts, class diagrams, etc.).
What it loads into context
Frontmatter
170 tokensAlways available to the agent
SKILL.md
2,340 tokensWhen the skill is activated
Reference documents
25,661 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Step 1: Is `generate_diagram` the right tool?
- Step 2: Pick the diagram type
- Step 3: Universal constraints (apply to every diagram type)
- Step 4: Garbage in, garbage out
- Step 5: Will the diagram need more than Mermaid can express?
- Step 6: Calling the tool
- Step 7: After generation
Files
SKILL.mdcore10,272 bytesSKILL.mdcore10,272 bytesSKILL.mdcore10,272 bytesSKILL.mdcore10,272 bytesSKILL.mdcore10,272 bytesreferences/architecture.mddoc13,551 bytesreferences/erd.mddoc13,388 bytesreferences/flowchart.mddoc19,558 bytesreferences/gantt.mddoc13,253 bytesreferences/sequence.mddoc14,982 bytesreferences/state.mddoc14,654 bytesreferences/workflow.mddoc11,229 bytes../figma-use-figjam/SKILL.mddoc6,943 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubfigma-generate-library
When your agent uses it
Build or update a professional-grade design system in Figma from a codebase. Use when the user wants to create variables/tokens, build component libraries, create individual components with proper variant sets and variable bindings, set up theming (light/dark modes), document foundations, or reconcile gaps between code and Figma. Also use when the user asks to create or generate any component in Figma — even a single one — since components require proper variable foundations, variant states, and design token bindings to be production-quality. This skill teaches WHAT to build and in WHAT ORDER — it complements the `figma-use` skill which teaches HOW to call the Plugin API. Both skills should be loaded together.
What it loads into context
Frontmatter
158 tokensAlways available to the agent
SKILL.md
5,441 tokensWhen the skill is activated
Reference documents
43,362 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- 1. Scope and Completion Contract
- 2. Scoped Workflow
- 3. Critical Rules
- 4. State Management (Required for Long Workflows)
- 5. Library Discovery and search_design_system — Reuse Decision Matrix
- 6. Decision Forks
- 7. Naming Conventions
- 8. Token Architecture
- 9. Anti-Patterns
- 10. Reference Docs
- 11. Scripts
Scripts executed separately
scripts/bindVariablesToComponent.jsscripts/cleanupOrphans.jsscripts/createComponentWithVariants.jsscripts/createDocumentationPage.jsscripts/createSemanticTokens.jsscripts/createVariableCollection.jsscripts/inspectFileStructure.jsscripts/validateCreation.js
Files
SKILL.mdcore25,209 bytesSKILL.mdcore25,209 bytesSKILL.mdcore25,209 bytesSKILL.mdcore25,209 bytesSKILL.mdcore25,209 bytesSKILL.mdcore25,209 bytesSKILL.mdcore25,209 bytesSKILL.mdcore25,209 bytesSKILL.mdcore25,209 bytesSKILL.mdcore25,209 bytesSKILL.mdcore25,209 bytesreferences/code-connect-setup.mddoc13,334 bytesreferences/component-creation.mddoc39,303 bytesreferences/discovery-phase.mddoc21,839 bytesreferences/documentation-creation.mddoc29,037 bytesreferences/error-recovery.mddoc16,250 bytesreferences/naming-conventions.mddoc18,994 bytesreferences/token-creation.mddoc32,717 bytesscripts/bindVariablesToComponent.jsruns4,026 bytesscripts/cleanupOrphans.jsruns2,204 bytesscripts/createComponentWithVariants.jsruns4,679 bytesscripts/createDocumentationPage.jsruns4,738 bytesscripts/createSemanticTokens.jsruns3,688 bytesscripts/createVariableCollection.jsruns1,408 bytesscripts/inspectFileStructure.jsruns3,718 bytesscripts/validateCreation.jsruns2,718 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubfigma-generative-plugins
When your agent uses it
**MANDATORY prerequisite** — load this skill before calling `create_generative_plugin` or `update_generative_plugin`. Use when the user asks to create, author, change, fix, or extend a reusable generative Figma plugin.
What it loads into context
Frontmatter
66 tokensAlways available to the agent
SKILL.md
1,013 tokensWhen the skill is activated
Reference documents
2,709 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Preflight
- Create workflow
- Update workflow
- Authoring rules
- Completion
Files
SKILL.mdcore4,852 bytesSKILL.mdcore4,852 bytesSKILL.mdcore4,852 bytesSKILL.mdcore4,852 bytesSKILL.mdcore4,852 bytesSKILL.mdcore4,852 bytesSKILL.mdcore4,852 bytesreferences/authoring.mddoc11,979 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubfigma-implement-motion
When your agent uses it
Translates Figma motion and animations into production-ready application code. Use when implementing animation/motion from a Figma design — user mentions "implement this motion", "add animation from Figma", "animate this component", provides a Figma URL whose node is animated, or when `get_design_context` returns motion data or instructs you to call `get_motion_context`.
What it loads into context
Frontmatter
92 tokensAlways available to the agent
SKILL.md
5,459 tokensWhen the skill is activated
Reference documents
19,240 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Overview
- Skill Boundaries
- Prerequisites
- Tool Choice
- Required Workflow
- Critical Rules
- Framework Recommendations
- Examples
- References
Files
SKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesreferences/examples-and-anti-examples.mddoc11,705 bytesreferences/framework-recommendations.mddoc7,003 bytesreferences/gotchas.mddoc9,621 bytesreferences/motion-lint-rules.mddoc2,095 bytesreferences/svg-and-path-motion.mddoc8,403 bytesreferences/unsupported-and-fallbacks.mddoc6,164 bytes../figma-use/SKILL.mddoc33,062 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubfigma-shaders
When your agent uses it
**MANDATORY prerequisite** — load this skill before calling `create_shader` or `update_shader`. Use when the user asks to create, author, change, fix, or iterate on a shader effect, shader fill, custom effect, custom fill, or procedural shader in Figma.
What it loads into context
Frontmatter
73 tokensAlways available to the agent
SKILL.md
1,216 tokensWhen the skill is activated
Reference documents
2,652 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Create workflow
- Update workflow
- Authoring rules
- Completion
Files
SKILL.mdcore5,612 bytesSKILL.mdcore5,612 bytesSKILL.mdcore5,612 bytesSKILL.mdcore5,612 bytesSKILL.mdcore5,612 bytesSKILL.mdcore5,612 bytesSKILL.mdcore5,612 bytesreferences/authoring.mddoc10,995 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubfigma-spec
When your agent uses it
This skill is required to create, read, edit, review, or comment on Figma specs. You must read it when working on a PRD, brief, RFC or any kind of document in either a standalone Figma spec or a Figma spec embedded in a Figma Design or Figjam file.
What it loads into context
Frontmatter
78 tokensAlways available to the agent
SKILL.md
1,517 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Discover and choose the Figma spec
- Create a Figma spec on a canvas
- Content methods
- Critical rules
- Style
- Images
- Comments
Files
SKILL.mdcore6,213 bytesSKILL.mdcore6,213 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubfigma-swiftui
When your agent uses it
SwiftUI ↔ Figma translation. Use whenever the user mentions Swift, SwiftUI, iOS, iPhone, or iPad — in EITHER direction — translating a Figma design into SwiftUI (design → code), or pushing SwiftUI views / screens / tokens back into a Figma file (code → design). Triggers on phrases like 'implement this Figma design in SwiftUI', 'build this screen in Swift', 'push this SwiftUI view to Figma', 'mirror my Swift code in a Figma file', or whenever a Figma URL appears alongside `.swift` files / an `.xcodeproj`. Routes to a direction-specific reference doc; loads alongside `figma-use` for the code → design path.
What it loads into context
Frontmatter
168 tokensAlways available to the agent
SKILL.md
990 tokensWhen the skill is activated
Reference documents
36,850 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Pick the direction
- Shared context (applies to both directions)
- References
Files
../figma-generate-design/SKILL.mddoc42,454 bytes../figma-generate-library/SKILL.mddoc25,209 bytesSKILL.mdcore4,049 bytesSKILL.mdcore4,049 bytesSKILL.mdcore4,049 bytesreferences/code-to-design.mddoc18,991 bytesreferences/design-to-code.mddoc37,430 bytes../figma-use/SKILL.mddoc33,062 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubfigma-use
When your agent uses it
**MANDATORY prerequisite** — you MUST invoke this skill BEFORE every `use_figma` tool call. NEVER call `use_figma` directly without loading this skill first. Skipping it causes common, hard-to-debug failures. Trigger whenever the user wants to perform a write action or a unique read action that requires JavaScript execution in the Figma file context — e.g. create/edit/delete nodes, set up variables or tokens, build components and variants, modify auto-layout or fills, bind variables to properties, or inspect file structure programmatically.
What it loads into context
Frontmatter
125 tokensAlways available to the agent
SKILL.md
7,944 tokensWhen the skill is activated
Reference documents
79,108 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- $fig — the plan-based builder API (ALL NODE CREATION MUST USE THIS)
- Critical Rules
- Node property gotchas
- References
Scripts executed separately
references/plugin-api-standalone.d.ts
Files
../figma-generate-design/SKILL.mddoc42,454 bytes../figma-generate-design/references/componentization.mddoc10,130 bytes../figma-generate-library/SKILL.mddoc25,209 bytesSKILL.mdcore33,062 bytesSKILL.mdcore33,062 bytesSKILL.mdcore33,062 bytesSKILL.mdcore33,062 bytesSKILL.mdcore33,062 bytesSKILL.mdcore33,062 bytesSKILL.mdcore33,062 bytesSKILL.mdcore33,062 bytesSKILL.mdcore33,062 bytesSKILL.mdcore33,062 bytesSKILL.mdcore33,062 bytesSKILL.mdcore33,062 bytesSKILL.mdcore33,062 bytesSKILL.mdcore33,062 bytesSKILL.mdcore33,062 bytesSKILL.mdcore33,062 bytesSKILL.mdcore33,062 bytesSKILL.mdcore33,062 bytesSKILL.mdcore33,062 bytesSKILL.mdcore33,062 bytesSKILL.mdcore33,062 bytesSKILL.mdcore33,062 bytesSKILL.mdcore33,062 bytesSKILL.mdcore33,062 bytesSKILL.mdcore33,062 bytesSKILL.mdcore33,062 bytesSKILL.mdcore33,062 bytesreferences/api-reference.mddoc16,452 bytesreferences/common-patterns.mddoc12,359 bytesreferences/component-patterns.mddoc26,476 bytesreferences/critical-rules-deep.mddoc11,910 bytesreferences/effect-style-patterns.mddoc2,574 bytesreferences/fig-builder.mddoc39,019 bytesreferences/gotchas.mddoc53,636 bytesreferences/plugin-api-standalone.d.tsruns442,270 bytesreferences/plugin-api-standalone.index.mddoc40,318 bytesreferences/text-style-patterns.mddoc5,914 bytesreferences/validation-and-recovery.mddoc3,973 bytesreferences/variable-patterns.mddoc14,937 bytesreferences/working-with-design-systems/wwds-components--creating.mddoc2,199 bytesreferences/working-with-design-systems/wwds-components--using.mddoc3,170 bytesreferences/working-with-design-systems/wwds-components.mddoc4,402 bytesreferences/working-with-design-systems/wwds-effect-styles.mddoc3,649 bytesreferences/working-with-design-systems/wwds-text-styles.mddoc5,519 bytesreferences/working-with-design-systems/wwds-variables--creating.mddoc1,559 bytesreferences/working-with-design-systems/wwds-variables--using.mddoc2,273 bytesreferences/working-with-design-systems/wwds-variables.mddoc5,183 bytesreferences/working-with-design-systems/wwds.mddoc5,220 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubfigma-use-figjam
When your agent uses it
This skill helps agents use Figma's use_figma MCP tool in the FigJam context. Can be used alongside figma-use which has foundational context for using the use_figma tool.
What it loads into context
Frontmatter
57 tokensAlways available to the agent
SKILL.md
1,604 tokensWhen the skill is activated
Reference documents
47,433 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Inspecting FigJam Files
- Loading Reference Docs Efficiently
- Deferred Tools — Batch-Load Schemas
- Text Mutations — Canonical Recipe
- Adding Images to a FigJam Board
- Reference Docs
Files
SKILL.mdcore6,943 bytesSKILL.mdcore6,943 bytesSKILL.mdcore6,943 bytesSKILL.mdcore6,943 bytesreferences/batch-modify.mddoc7,395 bytesreferences/create-code-block.mddoc2,791 bytesreferences/create-connector.mddoc11,595 bytesreferences/create-label.mddoc11,831 bytesreferences/create-section.mddoc7,695 bytesreferences/create-shape-with-text.mddoc15,946 bytesreferences/create-sticky.mddoc10,552 bytesreferences/create-table.mddoc13,457 bytesreferences/create-text.mddoc18,575 bytesreferences/edit-text.mddoc12,174 bytesreferences/figjam-colors.mddoc9,228 bytesreferences/plan-board-content.mddoc17,219 bytesreferences/position-figjam-nodes.mddoc3,920 bytes../figma-use/SKILL.mddoc33,062 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubfigma-use-motion
When your agent uses it
Motion / animation context for the `use_figma` MCP tool — animating Figma nodes via manual keyframes, animation styles, easing, and timeline duration. Load alongside figma-use whenever a task involves adding, editing, or inspecting animation on a node. Also covers working with custom animation styles.
What it loads into context
Frontmatter
78 tokensAlways available to the agent
SKILL.md
2,129 tokensWhen the skill is activated
Reference documents
20,769 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Runtime Gating
- When to use this skill
- Exposed motion API surface
- Reference docs
- Verifying the animation
- Pre-flight checklist
Files
SKILL.mdcore9,312 bytesSKILL.mdcore9,312 bytesSKILL.mdcore9,312 bytesSKILL.mdcore9,312 bytesSKILL.mdcore9,312 bytesreferences/3d-transforms.mddoc3,227 bytesreferences/motion-custom-styles.mddoc12,433 bytesreferences/motion-easing.mddoc4,591 bytesreferences/motion-patterns.mddoc20,963 bytesreferences/text-animation.mddoc11,090 bytes../figma-use/SKILL.mddoc33,062 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubfigma-use-slides
When your agent uses it
This skill helps agents use Figma's use_figma MCP tool in the Slides context. Can be used alongside figma-use which has foundational context for using the use_figma tool.
What it loads into context
Frontmatter
55 tokensAlways available to the agent
SKILL.md
4,906 tokensWhen the skill is activated
Reference documents
19,388 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Choosing How to Build a Slides Deck
- Critical Rules (Slides-specific)
- Design Thinking
- Deck-Building Workflow
- Sections
- Speaker Notes
- Inspecting Slides Files
- Reference Docs
Files
SKILL.mdcore22,033 bytesSKILL.mdcore22,033 bytesSKILL.mdcore22,033 bytesSKILL.mdcore22,033 bytesSKILL.mdcore22,033 bytesSKILL.mdcore22,033 bytesSKILL.mdcore22,033 bytesreferences/slide-content.mddoc6,056 bytesreferences/slide-design.mddoc15,827 bytesreferences/slide-gotchas.mddoc16,533 bytesreferences/slide-grid.mddoc3,058 bytesreferences/slide-lifecycle.mddoc2,208 bytesreferences/slide-properties.mddoc3,525 bytes../figma-use/SKILL.mddoc33,062 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubfigma-code-connect
When your agent uses it
Creates and maintains Figma Code Connect template files that map Figma components to code snippets. Use when the user mentions Code Connect, Figma component mapping, design-to-code translation, or asks to create/update .figma.ts or .figma.js files.
What it loads into context
Frontmatter
68 tokensAlways available to the agent
SKILL.md
6,508 tokensWhen the skill is activated
Reference documents
8,057 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Overview
- Prerequisites
- Step 1: Parse the Figma URL
- Step 2: Discover Unmapped Components
- Step 3: Fetch Component Properties
- Step 4: Identify the Code Component
- Step 5: Create the Template File (.figma.ts)
- Step 6: Validate
- Inline Quick Reference
- Rules and Pitfalls
- Complete Worked Example
- Additional Reference
Files
SKILL.mdcore26,669 bytesSKILL.mdcore26,669 bytesSKILL.mdcore26,669 bytesSKILL.mdcore26,669 bytesSKILL.mdcore26,669 bytesSKILL.mdcore26,669 bytesreferences/advanced-patterns.mddoc10,069 bytesreferences/api.mddoc23,396 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubfigma-code-workflows
When your agent uses it
Import or upload local HTML or project files into Figma, choose editable Design frames, runnable Code Layers or standalone Code (also known as Make), and repair imported previews. Use only when the user explicitly names editable Design layers, a runnable Code Layer, or a standalone Code/Make file, or supplies a Figma file key/link as the import destination. Generic code or code-component requests need output clarification before using this workflow.
What it loads into context
Frontmatter
102 tokensAlways available to the agent
SKILL.md
914 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- 1. Choose the output and destination
- 2. Follow the import response
Files
SKILL.mdcore4,582 bytesSKILL.mdcore4,582 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubfigma-create-new-file
When your agent uses it
Always use this skill when the user wants to create a new Figma Design, FigJam, or Slides file. You MUST invoke this skill BEFORE every `create_new_file` tool call.
What it loads into context
Frontmatter
56 tokensAlways available to the agent
SKILL.md
462 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Step 1: Resolve the `planKey` and `editorType`
- Step 2: Call create_new_file
- Step 3: (Slides only) Handle the empty grid
Files
SKILL.mdcore1,841 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubfigma-design-to-code
When your agent uses it
**MANDATORY prerequisite** — you MUST invoke this skill BEFORE calling the `get_design_context` Figma MCP tool. You MUST trigger this skill whenever the user wants to implement, build, port, or code up a Figma design as code. Example prompts (not exhaustive) are 'implement this Figma design', 'build this screen from Figma', 'turn this Figma into code', 'design to code'. This skill provides critical instructions and steps to the agent on how to correctly implement Figma designs in code and must NOT be skipped.
What it loads into context
Frontmatter
128 tokensAlways available to the agent
SKILL.md
804 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Context
- Implementation
- Verification
Files
SKILL.mdcore4,066 bytesSKILL.mdcore4,066 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubfigma-generate-design
When your agent uses it
Use this skill alongside figma-use when the task involves translating an application page, view, or multi-section layout into Figma. Triggers: 'write to Figma', 'create in Figma from code', 'push page to Figma', 'take this app/page and build it in Figma', 'create a screen', 'build a landing page in Figma', 'update the Figma screen to match code', 'convert this modal/dialog/drawer/panel to Figma'. This is the preferred workflow skill whenever the user wants to build or update a full page, modal, dialog, drawer, sidebar, panel, form, dashboard, list, table, card, header, message preview, or other composed product UI in Figma from code or a description—even when the user calls that composed UI a component. Discovers design system components, variables, and styles from Code Connect files, existing screens, and library search, then imports them and assembles views incrementally section-by-section using design system tokens instead of hardcoded values.
What it loads into context
Frontmatter
228 tokensAlways available to the agent
SKILL.md
8,840 tokensWhen the skill is activated
Reference documents
56,166 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- HTML-to-Figma Exceptions
- Skill Boundaries
- Prerequisites
- Parallel Workflow with generate_figma_design (Web Apps Only)
- Required Workflow
- Reference Docs
- Error Recovery
- Best Practices
Files
../figma-code-connect/SKILL.mddoc26,669 bytesSKILL.mdcore39,351 bytesSKILL.mdcore39,351 bytesSKILL.mdcore39,351 bytesSKILL.mdcore39,351 bytesSKILL.mdcore39,351 bytesSKILL.mdcore39,351 bytesSKILL.mdcore39,351 bytesSKILL.mdcore39,351 bytesSKILL.mdcore39,351 bytesSKILL.mdcore39,351 bytesSKILL.mdcore39,351 bytesSKILL.mdcore39,351 bytesSKILL.mdcore39,351 bytesSKILL.mdcore39,351 bytesSKILL.mdcore39,351 bytesSKILL.mdcore39,351 bytesSKILL.mdcore39,351 bytesSKILL.mdcore39,351 bytesSKILL.mdcore39,351 bytesSKILL.mdcore39,351 bytesSKILL.mdcore39,351 bytesSKILL.mdcore39,351 bytesreferences/componentization.mddoc1,764 bytesreferences/discover-product-font.mddoc4,699 bytes../figma-generate-library/SKILL.mddoc24,944 bytes../figma-generate-library/references/component-creation.mddoc38,754 bytes../figma-use/SKILL.mddoc35,427 bytes../figma-use/references/component-patterns.mddoc24,086 bytes../figma-use/references/effect-style-patterns.mddoc3,215 bytes../figma-use/references/gotchas.mddoc53,636 bytes../figma-use/references/text-style-patterns.mddoc6,947 bytes../figma-use/references/variable-patterns.mddoc14,663 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubfigma-generate-diagram
When your agent uses it
MANDATORY prerequisite — load this skill BEFORE every `generate_diagram` tool call. NEVER call `generate_diagram` directly without loading this skill first. Trigger whenever the user asks to create, generate, draw, render, sketch, or build a diagram — flowchart, architecture diagram, sequence diagram, ERD or entity-relationship diagram, state diagram or state machine, gantt chart, or timeline. Also trigger when the user mentions Mermaid syntax or wants a system architecture, decision tree, dependency graph, API call flow, auth handshake, schema, or pipeline visualized in FigJam. Routes to type-specific guidance, sets universal Mermaid constraints, and tells you when to use a different diagram type or skip the tool entirely (mindmaps, pie charts, class diagrams, etc.).
What it loads into context
Frontmatter
170 tokensAlways available to the agent
SKILL.md
2,340 tokensWhen the skill is activated
Reference documents
25,661 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Step 1: Is `generate_diagram` the right tool?
- Step 2: Pick the diagram type
- Step 3: Universal constraints (apply to every diagram type)
- Step 4: Garbage in, garbage out
- Step 5: Will the diagram need more than Mermaid can express?
- Step 6: Calling the tool
- Step 7: After generation
Files
SKILL.mdcore10,272 bytesSKILL.mdcore10,272 bytesSKILL.mdcore10,272 bytesSKILL.mdcore10,272 bytesSKILL.mdcore10,272 bytesreferences/architecture.mddoc13,551 bytesreferences/erd.mddoc13,388 bytesreferences/flowchart.mddoc19,558 bytesreferences/gantt.mddoc13,253 bytesreferences/sequence.mddoc14,982 bytesreferences/state.mddoc14,654 bytesreferences/workflow.mddoc11,229 bytes../figma-use-figjam/SKILL.mddoc6,943 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubfigma-generate-library
When your agent uses it
Build or update a professional-grade design system in Figma from a codebase. Use when the user wants to create variables/tokens, build component libraries, create individual components with proper variant sets and variable bindings, set up theming (light/dark modes), document foundations, or reconcile gaps between code and Figma. Also use when the user asks to create or generate any component in Figma — even a single one — since components require proper variable foundations, variant states, and design token bindings to be production-quality. This skill teaches WHAT to build and in WHAT ORDER — it complements the `figma-use` skill which teaches HOW to call the Plugin API. Both skills should be loaded together.
What it loads into context
Frontmatter
158 tokensAlways available to the agent
SKILL.md
5,389 tokensWhen the skill is activated
Reference documents
43,226 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- 1. Scope and Completion Contract
- 2. Scoped Workflow
- 3. Critical Rules
- 4. State Management (Required for Long Workflows)
- 5. Library Discovery and search_design_system — Reuse Decision Matrix
- 6. Decision Forks
- 7. Naming Conventions
- 8. Token Architecture
- 9. Anti-Patterns
- 10. Reference Docs
- 11. Scripts
Scripts executed separately
scripts/bindVariablesToComponent.jsscripts/cleanupOrphans.jsscripts/createComponentWithVariants.jsscripts/createDocumentationPage.jsscripts/createSemanticTokens.jsscripts/createVariableCollection.jsscripts/inspectFileStructure.jsscripts/validateCreation.js
Files
SKILL.mdcore24,944 bytesSKILL.mdcore24,944 bytesSKILL.mdcore24,944 bytesSKILL.mdcore24,944 bytesSKILL.mdcore24,944 bytesSKILL.mdcore24,944 bytesSKILL.mdcore24,944 bytesSKILL.mdcore24,944 bytesSKILL.mdcore24,944 bytesSKILL.mdcore24,944 bytesSKILL.mdcore24,944 bytesreferences/code-connect-setup.mddoc13,334 bytesreferences/component-creation.mddoc38,754 bytesreferences/discovery-phase.mddoc21,839 bytesreferences/documentation-creation.mddoc29,037 bytesreferences/error-recovery.mddoc16,250 bytesreferences/naming-conventions.mddoc18,994 bytesreferences/token-creation.mddoc32,717 bytesscripts/bindVariablesToComponent.jsruns4,026 bytesscripts/cleanupOrphans.jsruns2,204 bytesscripts/createComponentWithVariants.jsruns4,679 bytesscripts/createDocumentationPage.jsruns4,738 bytesscripts/createSemanticTokens.jsruns3,688 bytesscripts/createVariableCollection.jsruns1,408 bytesscripts/inspectFileStructure.jsruns3,718 bytesscripts/validateCreation.jsruns2,718 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubfigma-generative-plugins
When your agent uses it
**MANDATORY prerequisite** — load this skill before calling `create_generative_plugin` or `update_generative_plugin`. Use when the user asks to create, author, change, fix, or extend a reusable generative Figma plugin.
What it loads into context
Frontmatter
66 tokensAlways available to the agent
SKILL.md
1,013 tokensWhen the skill is activated
Reference documents
2,709 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Preflight
- Create workflow
- Update workflow
- Authoring rules
- Completion
Files
SKILL.mdcore4,852 bytesSKILL.mdcore4,852 bytesSKILL.mdcore4,852 bytesSKILL.mdcore4,852 bytesSKILL.mdcore4,852 bytesSKILL.mdcore4,852 bytesSKILL.mdcore4,852 bytesreferences/authoring.mddoc11,979 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubfigma-implement-motion
When your agent uses it
Translates Figma motion and animations into production-ready application code. Use when implementing animation/motion from a Figma design — user mentions "implement this motion", "add animation from Figma", "animate this component", provides a Figma URL whose node is animated, or when `get_design_context` returns motion data or instructs you to call `get_motion_context`.
What it loads into context
Frontmatter
92 tokensAlways available to the agent
SKILL.md
5,459 tokensWhen the skill is activated
Reference documents
19,712 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Overview
- Skill Boundaries
- Prerequisites
- Tool Choice
- Required Workflow
- Critical Rules
- Framework Recommendations
- Examples
- References
Files
SKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesSKILL.mdcore24,655 bytesreferences/examples-and-anti-examples.mddoc11,705 bytesreferences/framework-recommendations.mddoc7,003 bytesreferences/gotchas.mddoc9,621 bytesreferences/motion-lint-rules.mddoc2,095 bytesreferences/svg-and-path-motion.mddoc8,403 bytesreferences/unsupported-and-fallbacks.mddoc6,164 bytes../figma-use/SKILL.mddoc35,427 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubfigma-shaders
When your agent uses it
**MANDATORY prerequisite** — load this skill before calling `create_shader` or `update_shader`. Use when the user asks to create, author, change, fix, or iterate on a shader effect, shader fill, custom effect, custom fill, or procedural shader in Figma.
What it loads into context
Frontmatter
73 tokensAlways available to the agent
SKILL.md
1,216 tokensWhen the skill is activated
Reference documents
2,652 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Create workflow
- Update workflow
- Authoring rules
- Completion
Files
SKILL.mdcore5,612 bytesSKILL.mdcore5,612 bytesSKILL.mdcore5,612 bytesSKILL.mdcore5,612 bytesSKILL.mdcore5,612 bytesSKILL.mdcore5,612 bytesSKILL.mdcore5,612 bytesreferences/authoring.mddoc10,995 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubfigma-spec
When your agent uses it
This skill is required to create, read, edit, review, or comment on Figma specs. You must read it when working on a PRD, brief, RFC or any kind of document in either a standalone Figma spec or a Figma spec embedded in a Figma Design or Figjam file.
What it loads into context
Frontmatter
78 tokensAlways available to the agent
SKILL.md
1,517 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Discover and choose the Figma spec
- Create a Figma spec on a canvas
- Content methods
- Critical rules
- Style
- Images
- Comments
Files
SKILL.mdcore6,213 bytesSKILL.mdcore6,213 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubfigma-swiftui
When your agent uses it
SwiftUI ↔ Figma translation. Use whenever the user mentions Swift, SwiftUI, iOS, iPhone, or iPad — in EITHER direction — translating a Figma design into SwiftUI (design → code), or pushing SwiftUI views / screens / tokens back into a Figma file (code → design). Triggers on phrases like 'implement this Figma design in SwiftUI', 'build this screen in Swift', 'push this SwiftUI view to Figma', 'mirror my Swift code in a Figma file', or whenever a Figma URL appears alongside `.swift` files / an `.xcodeproj`. Routes to a direction-specific reference doc; loads alongside `figma-use` for the code → design path.
What it loads into context
Frontmatter
168 tokensAlways available to the agent
SKILL.md
990 tokensWhen the skill is activated
Reference documents
36,471 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Pick the direction
- Shared context (applies to both directions)
- References
Files
../figma-generate-design/SKILL.mddoc39,351 bytes../figma-generate-library/SKILL.mddoc24,944 bytesSKILL.mdcore4,049 bytesSKILL.mdcore4,049 bytesSKILL.mdcore4,049 bytesreferences/code-to-design.mddoc18,991 bytesreferences/design-to-code.mddoc37,430 bytes../figma-use/SKILL.mddoc35,427 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubfigma-use
When your agent uses it
**MANDATORY prerequisite** — you MUST invoke this skill BEFORE every `use_figma` tool call. NEVER call `use_figma` directly without loading this skill first. Skipping it causes common, hard-to-debug failures. Trigger whenever the user wants to perform a write action or a unique read action that requires JavaScript execution in the Figma file context — e.g. create/edit/delete nodes, set up variables or tokens, build components and variants, modify auto-layout or fills, bind variables to properties, or inspect file structure programmatically.
What it loads into context
Frontmatter
125 tokensAlways available to the agent
SKILL.md
8,416 tokensWhen the skill is activated
Reference documents
70,752 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- 1. Critical Rules
- 2. Page Rules (Critical)
- 3. `return` Is Your Output Channel
- 4. Editor Mode
- 5. Efficient APIs — Prefer These Over Verbose Alternatives
- 6. Incremental Workflow (How to Avoid Bugs)
- 7. Error Recovery & Self-Correction
- 8. Pre-Flight Checklist
- 9. Discover Conventions Before Creating
- 10. Reference Docs
- 11. Snippet examples
Scripts executed separately
references/plugin-api-standalone.d.ts
Files
../figma-generate-design/SKILL.mddoc39,351 bytes../figma-generate-library/SKILL.mddoc24,944 bytes../figma-use-slides/SKILL.mddoc22,033 bytesSKILL.mdcore35,427 bytesSKILL.mdcore35,427 bytesSKILL.mdcore35,427 bytesSKILL.mdcore35,427 bytesSKILL.mdcore35,427 bytesSKILL.mdcore35,427 bytesSKILL.mdcore35,427 bytesSKILL.mdcore35,427 bytesSKILL.mdcore35,427 bytesSKILL.mdcore35,427 bytesSKILL.mdcore35,427 bytesSKILL.mdcore35,427 bytesSKILL.mdcore35,427 bytesSKILL.mdcore35,427 bytesSKILL.mdcore35,427 bytesSKILL.mdcore35,427 bytesSKILL.mdcore35,427 bytesSKILL.mdcore35,427 bytesSKILL.mdcore35,427 bytesSKILL.mdcore35,427 bytesSKILL.mdcore35,427 bytesSKILL.mdcore35,427 bytesSKILL.mdcore35,427 bytesSKILL.mdcore35,427 bytesSKILL.mdcore35,427 bytesreferences/api-reference.mddoc16,439 bytesreferences/common-patterns.mddoc14,410 bytesreferences/component-patterns.mddoc24,086 bytesreferences/effect-style-patterns.mddoc3,215 bytesreferences/gotchas.mddoc53,636 bytesreferences/plugin-api-patterns.mddoc16,288 bytesreferences/plugin-api-standalone.d.tsruns403,158 bytesreferences/plugin-api-standalone.index.mddoc34,991 bytesreferences/text-style-patterns.mddoc6,947 bytesreferences/validation-and-recovery.mddoc3,973 bytesreferences/variable-patterns.mddoc14,663 bytesreferences/working-with-design-systems/wwds-components--creating.mddoc2,199 bytesreferences/working-with-design-systems/wwds-components--using.mddoc2,608 bytesreferences/working-with-design-systems/wwds-components.mddoc4,402 bytesreferences/working-with-design-systems/wwds-effect-styles.mddoc3,649 bytesreferences/working-with-design-systems/wwds-text-styles.mddoc5,519 bytesreferences/working-with-design-systems/wwds-variables--creating.mddoc1,559 bytesreferences/working-with-design-systems/wwds-variables--using.mddoc2,273 bytesreferences/working-with-design-systems/wwds-variables.mddoc5,183 bytesreferences/working-with-design-systems/wwds.mddoc5,220 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubfigma-use-figjam
When your agent uses it
This skill helps agents use Figma's use_figma MCP tool in the FigJam context. Can be used alongside figma-use which has foundational context for using the use_figma tool.
What it loads into context
Frontmatter
57 tokensAlways available to the agent
SKILL.md
1,604 tokensWhen the skill is activated
Reference documents
47,905 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Inspecting FigJam Files
- Loading Reference Docs Efficiently
- Deferred Tools — Batch-Load Schemas
- Text Mutations — Canonical Recipe
- Adding Images to a FigJam Board
- Reference Docs
Files
SKILL.mdcore6,943 bytesSKILL.mdcore6,943 bytesSKILL.mdcore6,943 bytesSKILL.mdcore6,943 bytesreferences/batch-modify.mddoc7,395 bytesreferences/create-code-block.mddoc2,791 bytesreferences/create-connector.mddoc11,595 bytesreferences/create-label.mddoc11,831 bytesreferences/create-section.mddoc7,695 bytesreferences/create-shape-with-text.mddoc15,946 bytesreferences/create-sticky.mddoc10,552 bytesreferences/create-table.mddoc13,457 bytesreferences/create-text.mddoc18,575 bytesreferences/edit-text.mddoc12,174 bytesreferences/figjam-colors.mddoc9,228 bytesreferences/plan-board-content.mddoc17,219 bytesreferences/position-figjam-nodes.mddoc3,920 bytes../figma-use/SKILL.mddoc35,427 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubfigma-use-motion
When your agent uses it
Motion / animation context for the `use_figma` MCP tool — animating Figma nodes via manual keyframes, animation styles, easing, and timeline duration. Load alongside figma-use whenever a task involves adding, editing, or inspecting animation on a node. Also covers working with custom animation styles.
What it loads into context
Frontmatter
78 tokensAlways available to the agent
SKILL.md
2,004 tokensWhen the skill is activated
Reference documents
20,453 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Runtime Gating
- When to use this skill
- Exposed motion API surface
- Reference docs
- Verifying the animation
- Pre-flight checklist
Files
SKILL.mdcore8,829 bytesSKILL.mdcore8,829 bytesSKILL.mdcore8,829 bytesSKILL.mdcore8,829 bytesSKILL.mdcore8,829 bytesreferences/motion-custom-styles.mddoc12,433 bytesreferences/motion-easing.mddoc4,591 bytesreferences/motion-patterns.mddoc20,917 bytesreferences/text-animation.mddoc11,090 bytes../figma-use/SKILL.mddoc35,427 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubfigma-use-slides
When your agent uses it
This skill helps agents use Figma's use_figma MCP tool in the Slides context. Can be used alongside figma-use which has foundational context for using the use_figma tool.
What it loads into context
Frontmatter
55 tokensAlways available to the agent
SKILL.md
4,906 tokensWhen the skill is activated
Reference documents
19,860 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Choosing How to Build a Slides Deck
- Critical Rules (Slides-specific)
- Design Thinking
- Deck-Building Workflow
- Sections
- Speaker Notes
- Inspecting Slides Files
- Reference Docs
Files
SKILL.mdcore22,033 bytesSKILL.mdcore22,033 bytesSKILL.mdcore22,033 bytesSKILL.mdcore22,033 bytesSKILL.mdcore22,033 bytesSKILL.mdcore22,033 bytesSKILL.mdcore22,033 bytesreferences/slide-content.mddoc6,056 bytesreferences/slide-design.mddoc15,827 bytesreferences/slide-gotchas.mddoc16,533 bytesreferences/slide-grid.mddoc3,058 bytesreferences/slide-lifecycle.mddoc2,208 bytesreferences/slide-properties.mddoc3,525 bytes../figma-use/SKILL.mddoc35,427 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubgenerate-project-plan
When your agent uses it
Generate a FigJam project plan board from a PRD plus codebase context. Interactive flow: research → propose sections → per-section deep research → per-section content + block-shape proposal → create FigJam → skeleton → fill → diagrams → wrap. Each content block (section, nested section, intro callout, table, multi-column text, sticky column, diagram section, metadata strip) has its own subskill reference file. Use when the user asks for 'project plan in FigJam', 'interactive project plan', '/generate-project-plan', or provides a PRD and wants per-section confirmation on content + rendering.
What it loads into context
Frontmatter
140 tokensAlways available to the agent
SKILL.md
7,182 tokensWhen the skill is activated
Reference documents
20,804 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Mandatory prerequisites
- Visual UI conventions — STRICT, do not deviate
- Step template
- Step 1 — Gather context [Research]
- Step 2 — Propose candidate sections [Confirm]
- Step 3 — Per-section deep research [Research]
- Step 4 — Per-section content + block proposal [Confirm]
- Step 5 — Create FigJam file [Write]
- Step 6 — Skeleton pass [Write]
- Step 7 — Fill pass (one call per section) [Write]
- Step 8 — Diagrams [Write]
- Step 9 — Final review + report [Write, then Read]
- Operational rules
- Trigger phrases
Files
SKILL.mdcore27,518 bytesSKILL.mdcore27,518 bytesSKILL.mdcore27,518 bytesSKILL.mdcore27,518 bytesreferences/blocks/diagram-section.mddoc10,830 bytesreferences/blocks/intro-callout.mddoc3,206 bytesreferences/blocks/metadata-strip.mddoc3,622 bytesreferences/blocks/multi-column-text.mddoc5,174 bytesreferences/blocks/nested-section.mddoc4,311 bytesreferences/blocks/section.mddoc3,260 bytesreferences/blocks/sticky-column.mddoc3,548 bytesreferences/blocks/table.mddoc4,779 bytesreferences/blocks/text-primitives.mddoc4,726 bytesreferences/foundation/codebase-grounding.mddoc5,162 bytesreferences/foundation/layout.mddoc3,481 bytesreferences/foundation/palette.mddoc7,160 bytesreferences/foundation/plugin-api-traps.mddoc7,739 bytesreferences/section-catalog.mddoc9,583 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubvideo-interaction-mapper
When your agent uses it
This skill should be used when the user asks to analyze a UI screen recording and map interaction states into Figma. Trigger for requests such as "put video frames in Figma", "extract states from my recording", "map interactions from video to Figma", "analyze this screen recording", "create a storyboard from my video", "deconstruct this interaction in Figma", "annotate the UI states in my recording", or "pull the key moments from this video into Figma". Also trigger when the user references a video file (.mp4, .mov, .webm, .avi) together with Figma, design review, interaction analysis, prototypes, or UI states. The skill extracts key visual moments from a video, infers interaction triggers, and builds an annotated Figma Design storyboard using native Figma annotations and uploaded screenshot assets.
What it loads into context
Frontmatter
202 tokensAlways available to the agent
SKILL.md
3,028 tokensWhen the skill is activated
Reference documents
358 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Required Inputs and Tools
- Workflow
- Output Expectations
- Edge Cases
Scripts executed separately
scripts/extract_key_frames.pyscripts/generate_figma_calls.pyscripts/prepare_upload_frames.pyscripts/resolve_moment_frames.pyscripts/update_run_manifest.py
Files
README.mddoc1,668 bytesSKILL.mdcore12,943 bytesSKILL.mdcore12,943 bytesSKILL.mdcore12,943 bytesSKILL.mdcore12,943 bytesSKILL.mdcore12,943 bytesSKILL.mdcore12,943 bytesSKILL.mdcore12,943 bytesSKILL.mdcore12,943 bytesSKILL.mdcore12,943 bytesSKILL.mdcore12,943 bytesSKILL.mdcore12,943 bytesSKILL.mdcore12,943 bytesSKILL.mdcore12,943 bytesscripts/extract_key_frames.pyruns13,692 bytesscripts/generate_figma_calls.pyruns24,564 bytesscripts/prepare_upload_frames.pyruns7,284 bytesscripts/resolve_moment_frames.pyruns6,465 bytesscripts/update_run_manifest.pyruns7,145 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubSkills included
- figma-code-connect
- figma-code-workflows
- figma-create-new-file
- figma-design-to-code
- figma-generate-design
- figma-generate-diagram
- figma-generate-library
- figma-generative-plugins
- figma-implement-motion
- figma-shaders
- figma-spec
- figma-swiftui
- figma-use
- figma-use-figjam
- figma-use-motion
- figma-use-slides
- figma-code-connect
- figma-code-workflows
- figma-create-new-file
- figma-design-to-code
- figma-generate-design
- figma-generate-diagram
- figma-generate-library
- figma-generative-plugins
- figma-implement-motion
- figma-shaders
- figma-spec
- figma-swiftui
- figma-use
- figma-use-figjam
- figma-use-motion
- figma-use-slides
- generate-project-plan
- video-interaction-mapper
Repository facts
- License
- No license detected
- Created
- Aug 5, 2025
- Last pushed
- Nov 3, 2026
- Forks
- 212
- Open issues
- 0
- Project activity
- Active
Rank over the last 12 weeks
Now #513 · best #386 · down 67 in 30 days
- #507 from Oct 31 to Nov 1
- #509 on Nov 2
- #512 on Nov 3
- #513 on Nov 4
- #512 on Nov 5
- #513 since Nov 6
82 earlier periods
- #373 on Aug 2
- #378 on Aug 7
- #382 on Aug 8
- #379 on Aug 9
- #391 on Aug 10
- #392 on Aug 11
- #385 on Aug 12
- #387 on Aug 13
- #389 on Aug 14
- #386 on Aug 15
- #393 on Aug 16
- #391 on Aug 17
- #401 on Aug 18
- #402 on Aug 19
- #399 on Aug 20
- #398 on Aug 21
- #395 on Aug 22
- #403 on Aug 23
- #401 on Aug 24
- #406 on Aug 25
- #403 on Aug 26
- #412 on Aug 27
- #413 on Aug 28
- #409 on Aug 29
- #399 on Aug 30
- #413 on Aug 31
- #418 on Sep 1
- #413 on Sep 2
- #416 on Sep 3
- #407 on Sep 4
- #413 on Sep 5
- #409 on Sep 6
- #419 on Sep 7
- #423 on Sep 8
- #420 on Sep 9
- #422 on Sep 10
- #423 on Sep 11
- #420 from Sep 12 to Sep 13
- #428 on Sep 14
- #429 on Sep 15
- #432 on Sep 16
- #425 on Sep 17
- #424 on Sep 19
- #430 on Sep 20
- #432 on Sep 21
- #438 on Sep 22
- #431 on Sep 23
- #425 on Sep 24
- #427 on Sep 25
- #425 on Sep 26
- #435 on Sep 27
- #440 on Sep 28
- #448 on Sep 29
- #443 on Sep 30
- #444 on Oct 1
- #442 on Oct 2
- #431 on Oct 3
- #424 on Oct 4
- #435 on Oct 5
- #441 on Oct 6
- #446 on Oct 7
- #452 on Oct 8
- #454 on Oct 9
- #449 on Oct 10
- #448 on Oct 11
- #461 on Oct 12
- #458 on Oct 13
- #460 on Oct 14
- #461 on Oct 15
- #466 on Oct 16
- #459 on Oct 17
- #466 on Oct 18
- #476 on Oct 19
- #477 on Oct 20
- #483 on Oct 21
- #477 on Oct 22
- #475 on Oct 23
- #463 on Oct 24
- #499 on Oct 25
- #503 on Oct 28
- #505 on Oct 29
- #506 on Oct 30
Before you install
Network or broad shellAutomated signals, not a guarantee
Checked Nov 4, 2026
Not fully analyzed: some files were too long, unreadable or missing. This never lowers the level.
Show 267 notes
skills-figquery/figma-code-connect/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills-figquery/figma-code-connect/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills-figquery/figma-code-connect/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills-figquery/figma-code-connect/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills-figquery/figma-code-connect/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills-figquery/figma-code-workflows/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills-figquery/figma-design-to-code/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills-figquery/figma-generate-design/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills-figquery/figma-generate-design/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills-figquery/figma-generate-design/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills-figquery/figma-generate-design/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills-figquery/figma-generate-design/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills-figquery/figma-generate-design/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills-figquery/figma-generate-design/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills-figquery/figma-generate-design/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills-figquery/figma-generate-design/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills-figquery/figma-generate-design/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills-figquery/figma-generate-design/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills-figquery/figma-generate-design/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills-figquery/figma-generate-design/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzed
- No broad tool permissions
- No dangerous shell commands
- 1,855 network referencesin 36 files: figma-use/references/plugin-api-standalone.d.ts:1 figma-use/references/plugin-api-standalone.d.ts:1 skills-figquery/figma-generate-library/references/component-creation.md:509 and 33 more
- 2 obfuscation signalsin 2 files: figma-spec/SKILL.md:76 figma-spec/SKILL.md:76
- No instruction overrides
- 23 executable scriptsin 23 files: figma-generate-library/scripts/bindVariablesToComponent.js:1 figma-generate-library/scripts/cleanupOrphans.js:1 figma-generate-library/scripts/createComponentWithVariants.js:1 and 20 more
- 14 references to secretsin 6 files: skills-figquery/figma-use/SKILL.md:145 figma-code-connect/references/api.md:551 figma-code-connect/references/api.md:551 and 3 more
- No requests to vote in Hot
Show all 1,894 signals by file
skills-figquery/figma-code-connect/SKILL.md
- Network accessline 44
Given: `https://www.figma.com/design/QiEF6w564ggoW8ftcLvdcu/MyDesignSystem?node-id=4185-3778` - Network accessline 44
Given: `https://www.figma.com/design/QiEF6w564ggoW8ftcLvdcu/MyDesignSystem?node-id=4185-3778` - Network accessline 109
// url=https://www.figma.com/file/{fileKey}/{fileName}?node-id={nodeId} - Network accessline 109
// url=https://www.figma.com/file/{fileKey}/{fileName}?node-id={nodeId} - Network accessline 456
Given URL: `https://figma.com/design/abc123/MyFile?node-id=42-100` - Network accessline 456
Given URL: `https://figma.com/design/abc123/MyFile?node-id=42-100` - Network accessline 480
// url=https://figma.com/design/abc123/MyFile?node-id=42-100 - Network accessline 480
// url=https://figma.com/design/abc123/MyFile?node-id=42-100
skills-figquery/figma-code-connect/references/advanced-patterns.md
skills-figquery/figma-code-connect/references/api.md
- Network accessline 12
// url=https://www.figma.com/file/abc123/MyFile?node-id=123-456 - Network accessline 75
"codeConnect": { "documentUrlSubstitutions": { "<PROD_FILE>": "https://figma.com/design/abc123/Production", - Network accessline 76
"documentUrlSubstitutions": { "<PROD_FILE>": "https://figma.com/design/abc123/Production", "<TEST_FILE>": "https://figma.com/design/xyz789/Testing" - Network accessline 77
"<PROD_FILE>": "https://figma.com/design/abc123/Production", - Network accessline 78
"<TEST_FILE>": "https://figma.com/design/xyz789/Testing" - Network accessline 107
// url=https://www.figma.com/file/abc123/MyFile?node-id=123-456 - Network accessline 131
// url=https://www.figma.com/file/abc123/MyFile?node-id=123-456 - Access to secretsline 551
[Credential-related source omitted] - Access to secretsline 556
[Credential-related source omitted] - Network accessline 574
npx figma connect unpublish --node=https://figma.com/file/abc/File?node-id=123-456 --label=React - Network accessline 725
// url=https://www.figma.com/file/abc/Components?node-id=1-2 - Network accessline 769
// url=https://www.figma.com/file/abc/Components?node-id=10-20 - Network accessline 810
// url=https://www.figma.com/file/abc/Components?node-id=30-40 - Network accessline 846
// url=https://www.figma.com/file/abc/Components?node-id=50-60
skills-figquery/figma-generate-design/SKILL.md
- Network accessline 94
**Example:** Code Connect file contains `// url=https://figma.com/design/ABC123/File?node-id=609-35535`. Parse `fileKey` = `ABC123`, `nodeId` = `609:35535`. Run `use_figma` against the **library file** (fileKey `ABC123`, not the target file - Network accessline 94
**Example:** Code Connect file contains `// url=https://figma.com/design/ABC123/File?node-id=609-35535`. Parse `fileKey` = `ABC123`, `nodeId` = `609:35535`. Run `use_figma` against the **library file** (fileKey `ABC123`, not the target file - Network accessline 94
**Example:** Code Connect file contains `// url=https://figma.com/design/ABC123/File?node-id=609-35535`. Parse `fileKey` = `ABC123`, `nodeId` = `609:35535`. Run `use_figma` against the **library file** (fileKey `ABC123`, not the target file - Network accessline 429
// Import a codebase icon SVG as a vector, sized to a 24px slot const chevron = $fig.svg( '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' + - Network accessline 429
// Import a codebase icon SVG as a vector, sized to a 24px slot const chevron = $fig.svg( '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' + - Network accessline 429
// Import a codebase icon SVG as a vector, sized to a 24px slot const chevron = $fig.svg( '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' + - Network accessline 430
const chevron = $fig.svg( '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' + '<path d="m9 18 6-6-6-6" stroke="#1A1A1A" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></s - Network accessline 430
const chevron = $fig.svg( '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' + '<path d="m9 18 6-6-6-6" stroke="#1A1A1A" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></s - Network accessline 430
const chevron = $fig.svg( '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' + '<path d="m9 18 6-6-6-6" stroke="#1A1A1A" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></s - Network accessline 431
'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' + - Network accessline 431
'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' + - Network accessline 431
'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' +
skills-figquery/figma-generate-diagram/references/sequence.md
- Access to secretsline 250
[Credential-related source omitted]
skills-figquery/figma-generate-library/references/component-creation.md
- Network accessline 509
// Create a simple icon component from SVG const svgNode = figma.createNodeFromSvg( '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' + - Network accessline 509
// Create a simple icon component from SVG const svgNode = figma.createNodeFromSvg( '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' + - Network accessline 510
const svgNode = figma.createNodeFromSvg( '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' + '<path d="M9 18l6-6-6-6" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-l - Network accessline 510
const svgNode = figma.createNodeFromSvg( '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' + '<path d="M9 18l6-6-6-6" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-l - Network accessline 511
'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' + - Network accessline 511
'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' + - Network accessline 602
cs.documentationLinks = [ { uri: 'https://your-storybook.com/button' } - Network accessline 602
cs.documentationLinks = [ { uri: 'https://your-storybook.com/button' } - Network accessline 603
{ uri: 'https://your-storybook.com/button' } - Network accessline 603
{ uri: 'https://your-storybook.com/button' } - Network accessline 878
const cs = await figma.getNodeByIdAsync(CS_ID); cs.description = 'Buttons allow users to take actions and make choices with a single tap.'; cs.documentationLinks = [{ uri: 'https://your-storybook.com/button' }]; - Network accessline 878
const cs = await figma.getNodeByIdAsync(CS_ID); cs.description = 'Buttons allow users to take actions and make choices with a single tap.'; cs.documentationLinks = [{ uri: 'https://your-storybook.com/button' }]; - Network accessline 879
cs.description = 'Buttons allow users to take actions and make choices with a single tap.'; cs.documentationLinks = [{ uri: 'https://your-storybook.com/button' }]; // Add properties — save returned keys - Network accessline 879
cs.description = 'Buttons allow users to take actions and make choices with a single tap.'; cs.documentationLinks = [{ uri: 'https://your-storybook.com/button' }]; // Add properties — save returned keys - Network accessline 880
cs.documentationLinks = [{ uri: 'https://your-storybook.com/button' }]; - Network accessline 880
cs.documentationLinks = [{ uri: 'https://your-storybook.com/button' }];
skills-figquery/figma-generate-library/scripts/bindVariablesToComponent.js
- Executable scriptline 1
Executable file
skills-figquery/figma-generate-library/scripts/cleanupOrphans.js
- Executable scriptline 1
Executable file
skills-figquery/figma-generate-library/scripts/createComponentWithVariants.js
- Executable scriptline 1
Executable file
skills-figquery/figma-generate-library/scripts/createDocumentationPage.js
- Executable scriptline 1
Executable file
skills-figquery/figma-generate-library/scripts/createSemanticTokens.js
- Executable scriptline 1
Executable file
skills-figquery/figma-generate-library/scripts/createVariableCollection.js
- Executable scriptline 1
Executable file
skills-figquery/figma-generate-library/scripts/inspectFileStructure.js
- Executable scriptline 1
Executable file
skills-figquery/figma-generate-library/scripts/validateCreation.js
- Executable scriptline 1
Executable file
skills-figquery/figma-generative-plugins/SKILL.md
- Network accessline 51
`https://www.figma.com/file/new?try-tool-resource-content-id=<id>&try-tool-resource-type=gen_tool&type=design&mode=design`
skills-figquery/figma-implement-motion/SKILL.md
- Network accessline 28
- Figma MCP server connected and accessible. - Node ID parsed from the Figma URL the user provides. URL format: `https://figma.com/design/:fileKey/:fileName?node-id=1-2` — extract `fileKey` (the segment after `/design/`) and `nodeId` (the v - Network accessline 29
- Node ID parsed from the Figma URL the user provides. URL format: `https://figma.com/design/:fileKey/:fileName?node-id=1-2` — extract `fileKey` (the segment after `/design/`) and `nodeId` (the value of the `node-id` query parameter, e.g. ` - Network accessline 121
4. **Validate one animation end-to-end before batching.** Build, reload, and watch one full timeline loop — confirm each animated node appears at the time its keyframe track says it should. "Renders without error" is not "renders correctly. - Network accessline 122
5. **Don't fabricate motion.** If a node has no motion data in the response, leave it static. Do not borrow easing/duration defaults from elsewhere in the design, and do not auto-animate "because the rest of the component is animated." 6. * - Network accessline 123
6. **Download assets and reference local files.** `get_design_context` / `get_motion_context` return assets as expiring URLs (`/api/mcp/asset/...`), often SVG. Download each asset into the project with `curl -L` and reference the downloaded - Network accessline 130
- **React**: [motion.dev](https://motion.dev) (the `motion` package). The tool returns motion.dev code directly — use it.
skills-figquery/figma-implement-motion/references/framework-recommendations.md
- Network accessline 7
| Target | Default | Why | |---|---|---| | React | [motion.dev](https://motion.dev) (the `motion` package) | Tool emits motion.dev code directly. Supports keyframes, springs, scroll-linked, gesture, layout transitions. | - Network accessline 8
|---|---|---| | React | [motion.dev](https://motion.dev) (the `motion` package) | Tool emits motion.dev code directly. Supports keyframes, springs, scroll-linked, gesture, layout transitions. | | Vanilla / non-React web | CSS `@keyframes` w - Network accessline 9
| React | [motion.dev](https://motion.dev) (the `motion` package) | Tool emits motion.dev code directly. Supports keyframes, springs, scroll-linked, gesture, layout transitions. | - Network accessline 42
|---|---|---| | **Glass / glassmorphism** | CSS `backdrop-filter` first; reach for library only for refractive/liquid effects | Simple glass (blur + transparency + border) is a handful of CSS properties. Fancy liquid/refractive glass often - Network accessline 43
| **Glass / glassmorphism** | CSS `backdrop-filter` first; reach for library only for refractive/liquid effects | Simple glass (blur + transparency + border) is a handful of CSS properties. Fancy liquid/refractive glass often needs WebGL or - Network accessline 44
| **Confetti / particle bursts** | [`canvas-confetti`](https://github.com/catdad/canvas-confetti), [`react-confetti`](https://github.com/alampros/react-confetti), [`party-js`](https://party.js.org/) | Trying to recreate in keyframes produce - Network accessline 45
| **Persistent particle systems** | [`tsParticles`](https://particles.js.org/), or `three.js` / `react-three-fiber` for 3D | Backgrounds, snow, embers, etc. Hand-rolled keyframes can't fake volume and depth well. | - Network accessline 46
| **Scroll-linked motion** | `motion/react`'s `useScroll` + `useTransform`; GSAP `ScrollTrigger` for complex sequences | Scroll-linked requires IntersectionObserver or RAF plumbing. Both listed libraries wrap this correctly including resize - Network accessline 47
| **Text reveal / typewriter / per-character animation** | [`splitting.js`](https://splitting.js.org/), `motion/react` `<TextReveal>` pattern, `anime.js` text plugins | Hand-rolling per-character animation is fragile (breaks on ligatures, R - Network accessline 48
| **SVG path morphing** | GSAP `MorphSVGPlugin`, [`flubber`](https://github.com/veltman/flubber), `motion/react` path utilities | Interpolating between arbitrary SVG paths is nontrivial math. Libraries handle point-count mismatch. |
skills-figquery/figma-implement-motion/references/gotchas.md
- Network accessline 79
**Fix**: When an animated element renders blank despite a correct opacity animation, inspect the asset bytes (`curl <asset-url>`) and check for hardcoded `opacity` / `transform` on the root group. Either inline the SVG with the static value
skills-figquery/figma-implement-motion/references/svg-and-path-motion.md
- Network accessline 11
- Remove the `<img>` and fetch/inline the SVG markup from the asset URL (`curl <asset-url>`; don't pass the bytes to the Read tool — see the asset rule in SKILL.md).
skills-figquery/figma-shaders/SKILL.md
- Network accessline 52
`https://www.figma.com/file/new?try-tool-resource-content-id=<id>&try-tool-resource-type=<gen_effect|gen_fill>&type=design&mode=design`
skills-figquery/figma-spec/SKILL.md
- Possible obfuscationline 76
2. **Pass Markdown as plain strings.** Never encode it with `Buffer`/base64 or decode it with `atob()`. Base64 is only for image data URLs inside Markdown. - Network accessline 91
- `` embeds bytes that are decoded and uploaded. - `` is fetched server-side; disallowed hosts are rejected. - Network accessline 92
- `` is fetched server-side; disallowed hosts are rejected.
skills-figquery/figma-swiftui/references/design-to-code.md
- Network accessline 105
- **A leading JSX comment linking to HIG docs**, e.g. `{/* iOS and iPadOS 26 component\nDocs: https://developer.apple.com/design/human-interface-guidelines/buttons */}`. Unambiguous — when present, treat the wrapped component as a system co - Network accessline 231
The `imgFoo = "https://…/api/mcp/asset/<uuid>"` URLs in the response expire. Download each asset with `curl -L`, add it to the project's asset catalog, and reference it by asset name. Never reference the temporary URLs in app code. If an im
skills-figquery/figma-use-figjam/references/edit-text.md
skills-figquery/figma-use/SKILL.md
- Access to secretsline 145
[Credential-related source omitted] - Access to secretsline 145
[Credential-related source omitted] - Access to secretsline 145
[Credential-related source omitted] - Access to secretsline 145
[Credential-related source omitted] - Access to secretsline 145
[Credential-related source omitted] - Access to secretsline 145
[Credential-related source omitted] - Access to secretsline 145
[Credential-related source omitted]
skills-figquery/figma-use/references/api-reference.md
- Network accessline 246
// Documentation links — array of {uri, label} shown as clickable links componentSet.documentationLinks = [ { uri: "https://example.com/docs", label: "Component Docs" } - Network accessline 247
componentSet.documentationLinks = [ { uri: "https://example.com/docs", label: "Component Docs" } ] - Network accessline 248
{ uri: "https://example.com/docs", label: "Component Docs" } - Network accessline 250
// ⚠<U+FE0F> uri MUST be a valid URL (https://...) — relative paths will throw
skills-figquery/figma-use/references/common-patterns.md
- Access to secretsline 197
[Credential-related source omitted]
skills-figquery/figma-use/references/gotchas.md
- Network accessline 1005
// CORRECT — import the SVG; createNodeFromSvg returns an editable FrameNode at the SVG's size const icon = figma.createNodeFromSvg( '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' + - Network accessline 1005
// CORRECT — import the SVG; createNodeFromSvg returns an editable FrameNode at the SVG's size const icon = figma.createNodeFromSvg( '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' + - Network accessline 1006
const icon = figma.createNodeFromSvg( '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' + '<path d="M12 5v14M19 12l-7 7-7-7" stroke="#1A1A1A" stroke-width="2" stroke-linecap="round" stroke - Network accessline 1006
const icon = figma.createNodeFromSvg( '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' + '<path d="M12 5v14M19 12l-7 7-7-7" stroke="#1A1A1A" stroke-width="2" stroke-linecap="round" stroke - Network accessline 1007
'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' + - Network accessline 1007
'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' +
skills-figquery/figma-use/references/plugin-api-standalone.d.ts
- Network accessline 1
/** * @see https://developers.figma.com/docs/plugins/api/figma - Executable scriptline 1
Executable file - Network accessline 2
* @see https://developers.figma.com/docs/plugins/api/figma - Network accessline 8
readonly apiVersion: '1.0.0' /** * The currently executing command from the `manifest.json` file. It is the command string in the `ManifestMenuItem` (more details in the [manifest guide](https://developers.figma.com/docs/plugins/manife - Network accessline 9
/** * The currently executing command from the `manifest.json` file. It is the command string in the `ManifestMenuItem` (more details in the [manifest guide](https://developers.figma.com/docs/plugins/manifest)). If the plugin does not ha - Network accessline 10
* The currently executing command from the `manifest.json` file. It is the command string in the `ManifestMenuItem` (more details in the [manifest guide](https://developers.figma.com/docs/plugins/manifest)). If the plugin does not have any - Network accessline 12
readonly command: string /** * The current editor type this plugin is running in. See also [Setting editor type](https://developers.figma.com/docs/plugins/setting-editor-type). - Network accessline 13
/** * The current editor type this plugin is running in. See also [Setting editor type](https://developers.figma.com/docs/plugins/setting-editor-type). */ - Network accessline 14
* The current editor type this plugin is running in. See also [Setting editor type](https://developers.figma.com/docs/plugins/setting-editor-type). - Network accessline 25
/** * The file key of the current file this plugin is running on. * **Only [private plugins](https://help.figma.com/hc/en-us/articles/4404228629655-Create-private-organization-plugins) and Figma-owned resources (such as the Jira and A - Network accessline 26
* The file key of the current file this plugin is running on. * **Only [private plugins](https://help.figma.com/hc/en-us/articles/4404228629655-Create-private-organization-plugins) and Figma-owned resources (such as the Jira and Asana wi - Network accessline 27
* **Only [private plugins](https://help.figma.com/hc/en-us/articles/4404228629655-Create-private-organization-plugins) and Figma-owned resources (such as the Jira and Asana widgets) have access to this.** - Network accessline 62
* This property contains methods used to read and set the viewport, the user-visible area of the current page. * * Read more in the [viewport section](https://developers.figma.com/docs/plugins/api/figma-viewport). - Network accessline 63
* * Read more in the [viewport section](https://developers.figma.com/docs/plugins/api/figma-viewport). */ - Network accessline 64
* Read more in the [viewport section](https://developers.figma.com/docs/plugins/api/figma-viewport). - Network accessline 128
* This property contains convenience functions for common operations. * * Read more in the [util section](https://developers.figma.com/docs/plugins/api/figma-util). - Network accessline 129
* * Read more in the [util section](https://developers.figma.com/docs/plugins/api/figma-util). */ - Network accessline 130
* Read more in the [util section](https://developers.figma.com/docs/plugins/api/figma-util). - Network accessline 132
readonly util: UtilAPI /** * This property contains methods to handle user inputs when a plugin is launched in query mode. See [Accepting Parameters as Input](https://developers.figma.com/docs/plugins/plugin-parameters) for more detail - Network accessline 133
/** * This property contains methods to handle user inputs when a plugin is launched in query mode. See [Accepting Parameters as Input](https://developers.figma.com/docs/plugins/plugin-parameters) for more details. */ - Network accessline 134
* This property contains methods to handle user inputs when a plugin is launched in query mode. See [Accepting Parameters as Input](https://developers.figma.com/docs/plugins/plugin-parameters) for more details. - Network accessline 138
* This property contains methods for reading Motion animation styles available in the current document. * * Read more in the [Motion section](https://developers.figma.com/docs/plugins/api/figma-motion). - Network accessline 139
* * Read more in the [Motion section](https://developers.figma.com/docs/plugins/api/figma-motion). */ - Network accessline 140
* Read more in the [Motion section](https://developers.figma.com/docs/plugins/api/figma-motion). - Network accessline 191
* ``` * * Note: Your plugin never needs to know what the actual value of `figma.mixed` is, only that it is a unique, constant value that can be compared against. That being said, this value returns an object of type `symbol` which is - Network accessline 192
* * Note: Your plugin never needs to know what the actual value of `figma.mixed` is, only that it is a unique, constant value that can be compared against. That being said, this value returns an object of type `symbol` which is a more ad - Network accessline 193
* Note: Your plugin never needs to know what the actual value of `figma.mixed` is, only that it is a unique, constant value that can be compared against. That being said, this value returns an object of type `symbol` which is a more advance - Network accessline 323
* @remarks * * By default, parented under `figma.currentPage`. Without setting additional properties, the vector has a bounding box but doesn't have any vertices. There are two ways to assign vertices to a vector node - [`vectorPaths` - Network accessline 324
* * By default, parented under `figma.currentPage`. Without setting additional properties, the vector has a bounding box but doesn't have any vertices. There are two ways to assign vertices to a vector node - [`vectorPaths`](https://deve - Network accessline 325
* By default, parented under `figma.currentPage`. Without setting additional properties, the vector has a bounding box but doesn't have any vertices. There are two ways to assign vertices to a vector node - [`vectorPaths`](https://developer - Network accessline 331
* @remarks * * By default, parented under `figma.currentPage`. Without setting additional properties, the text has no characters. You can assign a string, to the [`characters`](https://developers.figma.com/docs/plugins/api/properties/ - Network accessline 332
* * By default, parented under `figma.currentPage`. Without setting additional properties, the text has no characters. You can assign a string, to the [`characters`](https://developers.figma.com/docs/plugins/api/properties/TextNode-chara - Network accessline 333
* By default, parented under `figma.currentPage`. Without setting additional properties, the text has no characters. You can assign a string, to the [`characters`](https://developers.figma.com/docs/plugins/api/properties/TextNode-characters - Network accessline 854
* You can either pass in a hardcoded font, a font loaded via `listAvailableFontsAsync`, or the font stored on an existing text node. * * Read more about how to work with fonts, when to load them, and how to load them in the [Working w - Network accessline 855
* * Read more about how to work with fonts, when to load them, and how to load them in the [Working with Text](https://developers.figma.com/docs/plugins/working-with-text) page. * - Network accessline 856
* Read more about how to work with fonts, when to load them, and how to load them in the [Working with Text](https://developers.figma.com/docs/plugins/working-with-text) page. - Network accessline 860
* This function only works to load fonts _already accessible in the Figma editor_ available to _plugins_. It does not load fonts from the internet. * * Tip: to load multiple fonts at the same time, you may find [Promise.all](https://d - Network accessline 861
* * Tip: to load multiple fonts at the same time, you may find [Promise.all](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/all) helpful. * - Network accessline 862
* Tip: to load multiple fonts at the same time, you may find [Promise.all](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/all) helpful. * * A common question is whether a plugin needs to be ca - Network accessline 886
loadFontAsync(fontName: FontNameInput): Promise<void> /** * Returns the [OpenType variation axis](https://fonts.google.com/knowledge/glossary/axis_in_variable_fonts) tags a variable font family exposes, or `null` for a static family. T - Network accessline 887
/** * Returns the [OpenType variation axis](https://fonts.google.com/knowledge/glossary/axis_in_variable_fonts) tags a variable font family exposes, or `null` for a static family. These are the tags accepted by {@link FontName.variationS - Network accessline 888
* Returns the [OpenType variation axis](https://fonts.google.com/knowledge/glossary/axis_in_variable_fonts) tags a variable font family exposes, or `null` for a static family. These are the tags accepted by {@link FontName.variationSettings - Network accessline 918
readonly hasMissingFont: boolean /** * Creates a new node from an SVG string. This is equivalent to the SVG import feature in the editor. See the [official documentation on SVG paths](https://www.w3.org/TR/SVG/paths.html) for more deta - Network accessline 919
/** * Creates a new node from an SVG string. This is equivalent to the SVG import feature in the editor. See the [official documentation on SVG paths](https://www.w3.org/TR/SVG/paths.html) for more details. */ - Network accessline 920
* Creates a new node from an SVG string. This is equivalent to the SVG import feature in the editor. See the [official documentation on SVG paths](https://www.w3.org/TR/SVG/paths.html) for more details. - Network accessline 923
/** * Creates an `Image` object from the raw bytes of a file content. Note that `Image` objects **are not nodes**. They are handles to images stored by Figma. Frame backgrounds, or fills of shapes (e.g. a rectangle) may contain images. - Network accessline 924
* Creates an `Image` object from the raw bytes of a file content. Note that `Image` objects **are not nodes**. They are handles to images stored by Figma. Frame backgrounds, or fills of shapes (e.g. a rectangle) may contain images. * [Ex - Network accessline 925
* [Example: how to work with images](https://developers.figma.com/docs/plugins/working-with-images). - Network accessline 1137
} /** * @see https://developers.figma.com/docs/plugins/api/figma-variables - Network accessline 1138
/** * @see https://developers.figma.com/docs/plugins/api/figma-variables */ - Network accessline 1139
* @see https://developers.figma.com/docs/plugins/api/figma-variables - Network accessline 1267
} /** * @see https://developers.figma.com/docs/plugins/api/figma-annotations - Network accessline 1268
/** * @see https://developers.figma.com/docs/plugins/api/figma-annotations */ - Network accessline 1269
* @see https://developers.figma.com/docs/plugins/api/figma-annotations - Network accessline 1333
} /** * @see https://developers.figma.com/docs/plugins/api/figma-teamlibrary - Network accessline 1334
/** * @see https://developers.figma.com/docs/plugins/api/figma-teamlibrary */ - Network accessline 1335
* @see https://developers.figma.com/docs/plugins/api/figma-teamlibrary - Network accessline 1377
* The Motion API is available in Beta. This API is subject to change. * * @see https://developers.figma.com/docs/plugins/api/figma-motion - Network accessline 1378
* * @see https://developers.figma.com/docs/plugins/api/figma-motion */ - Network accessline 1379
* @see https://developers.figma.com/docs/plugins/api/figma-motion - Network accessline 1415
} /** * @see https://developers.figma.com/docs/plugins/api/figma-util - Network accessline 1416
/** * @see https://developers.figma.com/docs/plugins/api/figma-util */ - Network accessline 1417
* @see https://developers.figma.com/docs/plugins/api/figma-util - Network accessline 1539
} /** * @see https://developers.figma.com/docs/plugins/api/figma-viewport - Network accessline 1540
/** * @see https://developers.figma.com/docs/plugins/api/figma-viewport */ - Network accessline 1541
* @see https://developers.figma.com/docs/plugins/api/figma-viewport - Network accessline 1568
} /** * @see https://developers.figma.com/docs/plugins/api/figma-parameters - Network accessline 1569
/** * @see https://developers.figma.com/docs/plugins/api/figma-parameters */ - Network accessline 1570
* @see https://developers.figma.com/docs/plugins/api/figma-parameters - Network accessline 1644
* make the first item in the array passed to `setSuggestions` simply be the string in `query`. * * For a full example of what this can look like, see the [Resizer sample plugin](https://github.com/figma/plugin-samples/blob/master/resi - Network accessline 1645
* * For a full example of what this can look like, see the [Resizer sample plugin](https://github.com/figma/plugin-samples/blob/master/resizer/code.ts) */ - Network accessline 1646
* For a full example of what this can look like, see the [Resizer sample plugin](https://github.com/figma/plugin-samples/blob/master/resizer/code.ts) - Network accessline 1657
} /** * @see https://developers.figma.com/docs/plugins/api/figma-parameters - Network accessline 1658
/** * @see https://developers.figma.com/docs/plugins/api/figma-parameters */ - Network accessline 1659
* @see https://developers.figma.com/docs/plugins/api/figma-parameters - Network accessline 1661
interface ParametersAPI {} /** * @see https://developers.figma.com/docs/plugins/api/NodeChangeProperty - Network accessline 1662
/** * @see https://developers.figma.com/docs/plugins/api/NodeChangeProperty */ - Network accessline 1663
* @see https://developers.figma.com/docs/plugins/api/NodeChangeProperty - Network accessline 1808
} /** * @see https://developers.figma.com/docs/plugins/api/RGB - Network accessline 1809
/** * @see https://developers.figma.com/docs/plugins/api/RGB */ - Network accessline 1810
* @see https://developers.figma.com/docs/plugins/api/RGB - Network accessline 1816
} /** * @see https://developers.figma.com/docs/plugins/api/RGB - Network accessline 1817
/** * @see https://developers.figma.com/docs/plugins/api/RGB */ - Network accessline 1818
* @see https://developers.figma.com/docs/plugins/api/RGB - Network accessline 1825
} /** * @see https://developers.figma.com/docs/plugins/api/FontName - Network accessline 1826
/** * @see https://developers.figma.com/docs/plugins/api/FontName * - Network accessline 1827
* @see https://developers.figma.com/docs/plugins/api/FontName - Network accessline 1831
* @remarks * * Reads always include `family` and `style`. For [variable fonts](https://fonts.google.com/knowledge/glossary/variable_fonts), they also include {@link FontName.variationSettings} with every axis the family defines. Static fo - Network accessline 1832
* * Reads always include `family` and `style`. For [variable fonts](https://fonts.google.com/knowledge/glossary/variable_fonts), they also include {@link FontName.variationSettings} with every axis the family defines. Static fonts omit `va - Network accessline 1833
* Reads always include `family` and `style`. For [variable fonts](https://fonts.google.com/knowledge/glossary/variable_fonts), they also include {@link FontName.variationSettings} with every axis the family defines. Static fonts omit `varia - Network accessline 1859
} /** * @see https://developers.figma.com/docs/plugins/api/FontName - Network accessline 1860
/** * @see https://developers.figma.com/docs/plugins/api/FontName * - Network accessline 1861
* @see https://developers.figma.com/docs/plugins/api/FontName - Network accessline 1862
* * Variable font axis values keyed by [OpenType variation axis](https://fonts.google.com/knowledge/glossary/axis_in_variable_fonts) tag, mirroring the CSS `font-variation-settings` property. A tag is always four ASCII characters. */ - Network accessline 1863
* Variable font axis values keyed by [OpenType variation axis](https://fonts.google.com/knowledge/glossary/axis_in_variable_fonts) tag, mirroring the CSS `font-variation-settings` property. A tag is always four ASCII characters. - Network accessline 1867
} /** * @see https://developers.figma.com/docs/plugins/api/FontName - Network accessline 1868
/** * @see https://developers.figma.com/docs/plugins/api/FontName * - Network accessline 1869
* @see https://developers.figma.com/docs/plugins/api/FontName - Network accessline 2159
} /** * @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2160
/** * @see https://developers.figma.com/docs/plugins/api/Effect */ - Network accessline 2161
* @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2202
} /** * @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2203
/** * @see https://developers.figma.com/docs/plugins/api/Effect */ - Network accessline 2204
* @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2241
} /** * @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2242
/** * @see https://developers.figma.com/docs/plugins/api/Effect */ - Network accessline 2243
* @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2264
} /** * @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2265
/** * @see https://developers.figma.com/docs/plugins/api/Effect */ - Network accessline 2266
* @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2273
} /** * @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2274
/** * @see https://developers.figma.com/docs/plugins/api/Effect */ - Network accessline 2275
* @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2294
} /** * @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2295
/** * @see https://developers.figma.com/docs/plugins/api/Effect */ - Network accessline 2296
* @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2298
type BlurEffect = BlurEffectNormal | BlurEffectProgressive /** * @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2299
/** * @see https://developers.figma.com/docs/plugins/api/Effect */ - Network accessline 2300
* @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2337
} /** * @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2338
/** * @see https://developers.figma.com/docs/plugins/api/Effect */ - Network accessline 2339
* @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2347
} /** * @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2348
/** * @see https://developers.figma.com/docs/plugins/api/Effect */ - Network accessline 2349
* @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2361
} /** * @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2362
/** * @see https://developers.figma.com/docs/plugins/api/Effect */ - Network accessline 2363
* @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2375
} /** * @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2376
/** * @see https://developers.figma.com/docs/plugins/api/Effect */ - Network accessline 2377
* @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2379
type NoiseEffect = NoiseEffectMonotone | NoiseEffectDuotone | NoiseEffectMultitone /** * @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2380
/** * @see https://developers.figma.com/docs/plugins/api/Effect */ - Network accessline 2381
* @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2415
} /** * @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2416
/** * @see https://developers.figma.com/docs/plugins/api/Effect */ - Network accessline 2417
* @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2458
* A shader applied to a node's `effects`. * * @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2459
* * @see https://developers.figma.com/docs/plugins/api/Effect */ - Network accessline 2460
* @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2481
} /** * @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2482
/** * @see https://developers.figma.com/docs/plugins/api/Effect */ - Network accessline 2483
* @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2492
| ShaderEffect /** * @see https://developers.figma.com/docs/plugins/api/Constraints - Network accessline 2493
/** * @see https://developers.figma.com/docs/plugins/api/Constraints */ - Network accessline 2494
* @see https://developers.figma.com/docs/plugins/api/Constraints - Network accessline 2496
type ConstraintType = 'MIN' | 'CENTER' | 'MAX' | 'STRETCH' | 'SCALE' /** * @see https://developers.figma.com/docs/plugins/api/Constraints - Network accessline 2497
/** * @see https://developers.figma.com/docs/plugins/api/Constraints */ - Network accessline 2498
* @see https://developers.figma.com/docs/plugins/api/Constraints - Network accessline 2503
} /** * @see https://developers.figma.com/docs/plugins/api/Paint - Network accessline 2504
/** * @see https://developers.figma.com/docs/plugins/api/Paint */ - Network accessline 2505
* @see https://developers.figma.com/docs/plugins/api/Paint - Network accessline 2522
} /** * @see https://developers.figma.com/docs/plugins/api/Paint - Network accessline 2523
/** * @see https://developers.figma.com/docs/plugins/api/Paint */ - Network accessline 2524
* @see https://developers.figma.com/docs/plugins/api/Paint - Network accessline 2534
} /** * @see https://developers.figma.com/docs/plugins/api/Paint - Network accessline 2535
/** * @see https://developers.figma.com/docs/plugins/api/Paint */ - Network accessline 2536
* @see https://developers.figma.com/docs/plugins/api/Paint - Network accessline 2589
} /** * @see https://developers.figma.com/docs/plugins/api/Paint - Network accessline 2590
/** * @see https://developers.figma.com/docs/plugins/api/Paint */ - Network accessline 2591
* @see https://developers.figma.com/docs/plugins/api/Paint - Network accessline 2609
} /** * @see https://developers.figma.com/docs/plugins/api/Paint - Network accessline 2610
/** * @see https://developers.figma.com/docs/plugins/api/Paint */ - Network accessline 2611
* @see https://developers.figma.com/docs/plugins/api/Paint - Network accessline 2645
} /** * @see https://developers.figma.com/docs/plugins/api/Paint - Network accessline 2646
/** * @see https://developers.figma.com/docs/plugins/api/Paint */ - Network accessline 2647
* @see https://developers.figma.com/docs/plugins/api/Paint - Network accessline 2681
} /** * @see https://developers.figma.com/docs/plugins/api/Paint - Network accessline 2682
/** * @see https://developers.figma.com/docs/plugins/api/Paint */ - Network accessline 2683
* @see https://developers.figma.com/docs/plugins/api/Paint - Network accessline 2715
* A shader applied to a node's `fills` or `strokes`. * * @see https://developers.figma.com/docs/plugins/api/Paint - Network accessline 2716
* * @see https://developers.figma.com/docs/plugins/api/Paint */ - Network accessline 2717
* @see https://developers.figma.com/docs/plugins/api/Paint - Network accessline 2737
} /** * @see https://developers.figma.com/docs/plugins/api/Paint - Network accessline 2738
/** * @see https://developers.figma.com/docs/plugins/api/Paint */ - Network accessline 2739
* @see https://developers.figma.com/docs/plugins/api/Paint - Network accessline 2743
* A single value assignable to a shader property, read from or written to the `properties` map of a {@link ShaderEffect} or {@link ShaderPaint}. The shape that's valid for a given property depends on that property's declared `type` in its { - Network accessline 2744
* * @see https://developers.figma.com/docs/plugins/api/Shader */ - Network accessline 2745
* @see https://developers.figma.com/docs/plugins/api/Shader - Network accessline 2787
* A read-only description of one property declared by a shader. Surfaced via the `propertyDefinitions` field of a {@link Shader}, keyed by property-definition id. * * @see https://developers.figma.com/docs/plugins/api/Shader - Network accessline 2788
* * @see https://developers.figma.com/docs/plugins/api/Shader */ - Network accessline 2789
* @see https://developers.figma.com/docs/plugins/api/Shader - Network accessline 2823
* A shader available to the current file, as returned by {@link PluginAPI.listAvailableShaders} and {@link PluginAPI.importShaderById}. * * @see https://developers.figma.com/docs/plugins/api/Shader - Network accessline 2824
* * @see https://developers.figma.com/docs/plugins/api/Shader */ - Network accessline 2825
* @see https://developers.figma.com/docs/plugins/api/Shader - Network accessline 2854
} /** * @see https://developers.figma.com/docs/plugins/api/LayoutGrid - Network accessline 2855
/** * @see https://developers.figma.com/docs/plugins/api/LayoutGrid */ - Network accessline 2856
* @see https://developers.figma.com/docs/plugins/api/LayoutGrid - Network accessline 2897
} /** * @see https://developers.figma.com/docs/plugins/api/LayoutGrid - Network accessline 2898
/** * @see https://developers.figma.com/docs/plugins/api/LayoutGrid */ - Network accessline 2899
* @see https://developers.figma.com/docs/plugins/api/LayoutGrid - Network accessline 2915
} /** * @see https://developers.figma.com/docs/plugins/api/LayoutGrid - Network accessline 2916
/** * @see https://developers.figma.com/docs/plugins/api/LayoutGrid */ - Network accessline 2917
* @see https://developers.figma.com/docs/plugins/api/LayoutGrid - Network accessline 2919
type LayoutGrid = RowsColsLayoutGrid | GridLayoutGrid /** * @see https://developers.figma.com/docs/plugins/api/ExportSettings - Network accessline 2920
/** * @see https://developers.figma.com/docs/plugins/api/ExportSettings */ - Network accessline 2921
* @see https://developers.figma.com/docs/plugins/api/ExportSettings - Network accessline 2926
} /** * @see https://developers.figma.com/docs/plugins/api/ExportSettings - Network accessline 2927
/** * @see https://developers.figma.com/docs/plugins/api/ExportSettings */ - Network accessline 2928
* @see https://developers.figma.com/docs/plugins/api/ExportSettings - Network accessline 2971
* * - `"DOCUMENT"`: Use the color profile of {@link DocumentNode.documentColorProfile}. * - `"SRGB"`: Use sRGB colors. This was the previous behavior of Figma before [color management](https://help.figma.com/hc/en-us/articles/36003982 - Network accessline 2972
* - `"DOCUMENT"`: Use the color profile of {@link DocumentNode.documentColorProfile}. * - `"SRGB"`: Use sRGB colors. This was the previous behavior of Figma before [color management](https://help.figma.com/hc/en-us/articles/360039825114) - Network accessline 2973
* - `"SRGB"`: Use sRGB colors. This was the previous behavior of Figma before [color management](https://help.figma.com/hc/en-us/articles/360039825114). - Network accessline 2999
} /** * @see https://developers.figma.com/docs/plugins/api/ExportSettings - Network accessline 3000
/** * @see https://developers.figma.com/docs/plugins/api/ExportSettings */ - Network accessline 3001
* @see https://developers.figma.com/docs/plugins/api/ExportSettings - Network accessline 3009
} /** * @see https://developers.figma.com/docs/plugins/api/ExportSettings - Network accessline 3010
/** * @see https://developers.figma.com/docs/plugins/api/ExportSettings */ - Network accessline 3011
* @see https://developers.figma.com/docs/plugins/api/ExportSettings - Network accessline 3018
} /** * @see https://developers.figma.com/docs/plugins/api/ExportSettings - Network accessline 3019
/** * @see https://developers.figma.com/docs/plugins/api/ExportSettings */ - Network accessline 3020
* @see https://developers.figma.com/docs/plugins/api/ExportSettings - Network accessline 3032
} /** * @see https://developers.figma.com/docs/plugins/api/ExportSettings - Network accessline 3033
/** * @see https://developers.figma.com/docs/plugins/api/ExportSettings */ - Network accessline 3034
* @see https://developers.figma.com/docs/plugins/api/ExportSettings - Network accessline 3036
interface ExportSettingsREST { /** * Returns the equivalent REST API response of hitting the endpoint `https://api.figma.com/v1/files/:file_key/nodes?ids=:id`. - Network accessline 3037
/** * Returns the equivalent REST API response of hitting the endpoint `https://api.figma.com/v1/files/:file_key/nodes?ids=:id`. * - Network accessline 3038
* Returns the equivalent REST API response of hitting the endpoint `https://api.figma.com/v1/files/:file_key/nodes?ids=:id`. - Network accessline 3056
* ``` * * For more information on the shape of the output of the 'JSON_REST_V1' format, see the [files](https://developers.figma.com/docs/rest-api/files) documentation. - Network accessline 3057
* * For more information on the shape of the output of the 'JSON_REST_V1' format, see the [files](https://developers.figma.com/docs/rest-api/files) documentation. */ - Network accessline 3058
* For more information on the shape of the output of the 'JSON_REST_V1' format, see the [files](https://developers.figma.com/docs/rest-api/files) documentation. - Network accessline 3061
} /** * @see https://developers.figma.com/docs/plugins/api/ExportSettings - Network accessline 3062
/** * @see https://developers.figma.com/docs/plugins/api/ExportSettings */ - Network accessline 3063
* @see https://developers.figma.com/docs/plugins/api/ExportSettings - Network accessline 3065
type ExportSettings = ExportSettingsImage | ExportSettingsSVG | ExportSettingsPDF /** * @see https://developers.figma.com/docs/plugins/api/properties/VectorPath-windingrule - Network accessline 3066
/** * @see https://developers.figma.com/docs/plugins/api/properties/VectorPath-windingrule */ - Network accessline 3067
* @see https://developers.figma.com/docs/plugins/api/properties/VectorPath-windingrule - Network accessline 3069
type WindingRule = 'NONZERO' | 'EVENODD' /** * @see https://developers.figma.com/docs/plugins/api/VectorNetwork - Network accessline 3070
/** * @see https://developers.figma.com/docs/plugins/api/VectorNetwork */ - Network accessline 3071
* @see https://developers.figma.com/docs/plugins/api/VectorNetwork - Network accessline 3098
} /** * @see https://developers.figma.com/docs/plugins/api/VectorNetwork - Network accessline 3099
/** * @see https://developers.figma.com/docs/plugins/api/VectorNetwork */ - Network accessline 3100
* @see https://developers.figma.com/docs/plugins/api/VectorNetwork - Network accessline 3119
} /** * @see https://developers.figma.com/docs/plugins/api/VectorNetwork - Network accessline 3120
/** * @see https://developers.figma.com/docs/plugins/api/VectorNetwork */ - Network accessline 3121
* @see https://developers.figma.com/docs/plugins/api/VectorNetwork - Network accessline 3140
} /** * @see https://developers.figma.com/docs/plugins/api/VectorNetwork - Network accessline 3141
/** * @see https://developers.figma.com/docs/plugins/api/VectorNetwork */ - Network accessline 3142
* @see https://developers.figma.com/docs/plugins/api/VectorNetwork - Network accessline 3157
} /** * @see https://developers.figma.com/docs/plugins/api/VectorPath - Network accessline 3158
/** * @see https://developers.figma.com/docs/plugins/api/VectorPath */ - Network accessline 3159
* @see https://developers.figma.com/docs/plugins/api/VectorPath - Network accessline 3169
* ``` * * Winding rules work off a concept called the winding number, which tells you for a given point how many times the path winds around that point. This is described in much more detail [here](https://oreillymedia.github.io/Using - Network accessline 3170
* * Winding rules work off a concept called the winding number, which tells you for a given point how many times the path winds around that point. This is described in much more detail [here](https://oreillymedia.github.io/Using_SVG/extr - Network accessline 3171
* Winding rules work off a concept called the winding number, which tells you for a given point how many times the path winds around that point. This is described in much more detail [here](https://oreillymedia.github.io/Using_SVG/extras/ch - Network accessline 3190
} /** * @see https://developers.figma.com/docs/plugins/api/VectorPath - Network accessline 3191
/** * @see https://developers.figma.com/docs/plugins/api/VectorPath */ - Network accessline 3192
* @see https://developers.figma.com/docs/plugins/api/VectorPath - Network accessline 3207
type LeadingTrim = 'CAP_HEIGHT' | 'NONE' /** * @see https://developers.figma.com/docs/plugins/api/TextWrapStyle - Network accessline 3208
/** * @see https://developers.figma.com/docs/plugins/api/TextWrapStyle */ - Network accessline 3209
* @see https://developers.figma.com/docs/plugins/api/TextWrapStyle - Network accessline 3215
} /** * @see https://developers.figma.com/docs/plugins/api/TextListOptions - Network accessline 3216
/** * @see https://developers.figma.com/docs/plugins/api/TextListOptions */ - Network accessline 3217
* @see https://developers.figma.com/docs/plugins/api/TextListOptions - Network accessline 3242
type MaskType = 'ALPHA' | 'VECTOR' | 'LUMINANCE' /** * @see https://developers.figma.com/docs/plugins/api/FontName - Network accessline 3243
/** * @see https://developers.figma.com/docs/plugins/api/FontName */ - Network accessline 3244
* @see https://developers.figma.com/docs/plugins/api/FontName - Network accessline 3248
} /** * @see https://developers.figma.com/docs/plugins/api/TextStyleOverrides - Network accessline 3249
/** * @see https://developers.figma.com/docs/plugins/api/TextStyleOverrides */ - Network accessline 3250
* @see https://developers.figma.com/docs/plugins/api/TextStyleOverrides - Network accessline 3271
fontSize: number /** * The font family (e.g. `"Inter"`), font style (e.g. `"Regular"`). For [variable fonts](https://developers.figma.com/docs/plugins/api/FontName), also {@link FontName.variationSettings}. - Network accessline 3272
/** * The font family (e.g. `"Inter"`), font style (e.g. `"Regular"`). For [variable fonts](https://developers.figma.com/docs/plugins/api/FontName), also {@link FontName.variationSettings}. */ - Network accessline 3273
* The font family (e.g. `"Inter"`), font style (e.g. `"Regular"`). For [variable fonts](https://developers.figma.com/docs/plugins/api/FontName), also {@link FontName.variationSettings}. - Network accessline 3376
} /** * @see https://developers.figma.com/docs/plugins/api/TextPathStartData - Network accessline 3377
/** * @see https://developers.figma.com/docs/plugins/api/TextPathStartData * - Network accessline 3378
* @see https://developers.figma.com/docs/plugins/api/TextPathStartData - Network accessline 3427
} /** * @see https://developers.figma.com/docs/plugins/api/Action - Network accessline 3428
/** * @see https://developers.figma.com/docs/plugins/api/Action */ - Network accessline 3429
* @see https://developers.figma.com/docs/plugins/api/Action - Network accessline 3481
} /** * @see https://developers.figma.com/docs/plugins/api/Transition - Network accessline 3482
/** * @see https://developers.figma.com/docs/plugins/api/Transition */ - Network accessline 3483
* @see https://developers.figma.com/docs/plugins/api/Transition - Network accessline 3489
} /** * @see https://developers.figma.com/docs/plugins/api/Transition - Network accessline 3490
/** * @see https://developers.figma.com/docs/plugins/api/Transition */ - Network accessline 3491
* @see https://developers.figma.com/docs/plugins/api/Transition - Network accessline 3499
} /** * @see https://developers.figma.com/docs/plugins/api/Transition - Network accessline 3500
/** * @see https://developers.figma.com/docs/plugins/api/Transition */ - Network accessline 3501
* @see https://developers.figma.com/docs/plugins/api/Transition - Network accessline 3532
} /** * @see https://developers.figma.com/docs/plugins/api/Action - Network accessline 3533
/** * @see https://developers.figma.com/docs/plugins/api/Action */ - Network accessline 3534
* @see https://developers.figma.com/docs/plugins/api/Action - Network accessline 3536
type Navigation = 'NAVIGATE' | 'SWAP' | 'OVERLAY' | 'SCROLL_TO' | 'CHANGE_TO' /** * @see https://developers.figma.com/docs/plugins/api/Transition - Network accessline 3537
/** * @see https://developers.figma.com/docs/plugins/api/Transition */ - Network accessline 3538
* @see https://developers.figma.com/docs/plugins/api/Transition - Network accessline 3557
} /** * @see https://developers.figma.com/docs/plugins/api/Transition - Network accessline 3558
/** * @see https://developers.figma.com/docs/plugins/api/Transition */ - Network accessline 3559
* @see https://developers.figma.com/docs/plugins/api/Transition - Network accessline 3572
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3573
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3574
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3594
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3595
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3596
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3602
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3603
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3604
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3611
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3612
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3613
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3615
type AnimationStylePropValue = string | number | boolean | MotionEasing | VariableAlias /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3616
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3617
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3619
type AvailableAnimationStylePropValue = string /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3620
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3621
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3626
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3627
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3628
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3635
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3636
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3637
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3653
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3654
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3655
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3663
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3664
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3665
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3668
FigmaAnimationStyleConfiguration | CustomAnimationStyleConfiguration /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3669
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3670
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3680
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3681
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3682
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3687
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3688
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3689
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3694
* `style.animationEntries` and created by `style.addAnimationEntryAsync()`. * * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3695
* * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3696
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3698
type AnimationEntry = AppliedFigmaAnimationStyle /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3699
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3700
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3756
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3757
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3758
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3768
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3769
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3770
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3776
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3777
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3778
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3783
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3784
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3785
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3791
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3792
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3793
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3799
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3800
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3801
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3807
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3808
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3809
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3841
| 'PATH_TRIM_END' /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3842
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3843
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3862
| 'SECONDARY_COLOR' /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3863
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3864
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3893
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3894
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3895
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3897
type ComponentPropKeyframeTracks = Partial<Record<string, ManualKeyframeBinding>> /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3898
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3899
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3901
type ComponentPropKeyframeBindings = Partial<Record<string, KeyframeBinding>> /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3902
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3903
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3909
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3910
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3911
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3917
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3918
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3919
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3925
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3926
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3927
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3931
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3932
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3933
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3939
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3940
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3941
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3947
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3948
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3949
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3958
type OverflowDirection = 'NONE' | 'HORIZONTAL' | 'VERTICAL' | 'BOTH' /** * @see https://developers.figma.com/docs/plugins/api/Overlay - Network accessline 3959
/** * @see https://developers.figma.com/docs/plugins/api/Overlay */ - Network accessline 3960
* @see https://developers.figma.com/docs/plugins/api/Overlay - Network accessline 3970
| 'MANUAL' /** * @see https://developers.figma.com/docs/plugins/api/Overlay - Network accessline 3971
/** * @see https://developers.figma.com/docs/plugins/api/Overlay */ - Network accessline 3972
* @see https://developers.figma.com/docs/plugins/api/Overlay - Network accessline 3981
} /** * @see https://developers.figma.com/docs/plugins/api/Overlay - Network accessline 3982
/** * @see https://developers.figma.com/docs/plugins/api/Overlay */ - Network accessline 3983
* @see https://developers.figma.com/docs/plugins/api/Overlay - Network accessline 3985
type OverlayBackgroundInteraction = 'NONE' | 'CLOSE_ON_CLICK_OUTSIDE' /** * @see https://developers.figma.com/docs/plugins/api/PublishStatus - Network accessline 3986
/** * @see https://developers.figma.com/docs/plugins/api/PublishStatus */ - Network accessline 3987
* @see https://developers.figma.com/docs/plugins/api/PublishStatus - Network accessline 4006
} /** * @see https://developers.figma.com/docs/plugins/api/ConnectorEndpoint - Network accessline 4007
/** * @see https://developers.figma.com/docs/plugins/api/ConnectorEndpoint */ - Network accessline 4008
* @see https://developers.figma.com/docs/plugins/api/ConnectorEndpoint - Network accessline 4013
| ConnectorEndpointPositionAndEndpointNodeId /** * @see https://developers.figma.com/docs/plugins/api/ConnectorStrokeCap - Network accessline 4014
/** * @see https://developers.figma.com/docs/plugins/api/ConnectorStrokeCap */ - Network accessline 4015
* @see https://developers.figma.com/docs/plugins/api/ConnectorStrokeCap - Network accessline 4029
| 'ERD_MANY' /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 4030
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 4031
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 4100
* Returns true if Figma detects that a node is an asset, otherwise returns false. An asset is is either an icon or a raster image. * * This property is useful if you're building a [plugin for code generation](https://developers.figma. - Network accessline 4101
* * This property is useful if you're building a [plugin for code generation](https://developers.figma.com/docs/plugins/codegen-plugins). * - Network accessline 4102
* This property is useful if you're building a [plugin for code generation](https://developers.figma.com/docs/plugins/codegen-plugins). - Network accessline 4106
readonly isAsset: boolean /** * Resolves to a JSON object of CSS properties of the node. This is the same CSS that Figma shows in the inspect panel and is helpful if you are building a [plugin for code generation](https://developers.fi - Network accessline 4107
/** * Resolves to a JSON object of CSS properties of the node. This is the same CSS that Figma shows in the inspect panel and is helpful if you are building a [plugin for code generation](https://developers.figma.com/docs/plugins/codegen - Network accessline 4108
* Resolves to a JSON object of CSS properties of the node. This is the same CSS that Figma shows in the inspect panel and is helpful if you are building a [plugin for code generation](https://developers.figma.com/docs/plugins/codegen-plugin - Network accessline 4120
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 4121
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 4122
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 4177
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 4178
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 4179
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 4229
| null /** * The variables bound to a particular field on this node. Please see the [Working with Variables](https://developers.figma.com/docs/plugins/working-with-variables) guide for how to get and set variable bindings. - Network accessline 4230
/** * The variables bound to a particular field on this node. Please see the [Working with Variables](https://developers.figma.com/docs/plugins/working-with-variables) guide for how to get and set variable bindings. * - Network accessline 4231
* The variables bound to a particular field on this node. Please see the [Working with Variables](https://developers.figma.com/docs/plugins/working-with-variables) guide for how to get and set variable bindings. - Network accessline 4251
} /** * Binds the provided `field` on this node to the given variable. Please see the [Working with Variables](https://developers.figma.com/docs/plugins/working-with-variables) guide for how to get and set variable bindings. - Network accessline 4252
/** * Binds the provided `field` on this node to the given variable. Please see the [Working with Variables](https://developers.figma.com/docs/plugins/working-with-variables) guide for how to get and set variable bindings. * - Network accessline 4253
* Binds the provided `field` on this node to the given variable. Please see the [Working with Variables](https://developers.figma.com/docs/plugins/working-with-variables) guide for how to get and set variable bindings. - Network accessline 4267
* @remarks * * Inferred variables are only returned for a field when it is not using a [bound variable](https://developers.figma.com/docs/plugins/api/node-properties#boundvariables). - Network accessline 4268
* * Inferred variables are only returned for a field when it is not using a [bound variable](https://developers.figma.com/docs/plugins/api/node-properties#boundvariables). * - Network accessline 4269
* Inferred variables are only returned for a field when it is not using a [bound variable](https://developers.figma.com/docs/plugins/api/node-properties#boundvariables). - Network accessline 4291
* @remarks * * The set of resolved modes on a node includes the explicitly set modes on the node, as well as the explicitly set modes on ancestors of the node. By default, nodes [automatically inherit](https://help.figma.com/hc/en-us/ - Network accessline 4292
* * The set of resolved modes on a node includes the explicitly set modes on the node, as well as the explicitly set modes on ancestors of the node. By default, nodes [automatically inherit](https://help.figma.com/hc/en-us/articles/15343 - Network accessline 4293
* The set of resolved modes on a node includes the explicitly set modes on the node, as well as the explicitly set modes on ancestors of the node. By default, nodes [automatically inherit](https://help.figma.com/hc/en-us/articles/1534381606 - Network accessline 4331
* Motion node properties and methods are available in Beta. This API is subject to change. * * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 4332
* * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 4333
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 4542
type VariableBindableComponentPropertyDefinitionField = 'defaultValue' /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 4543
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 4544
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 4555
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 4556
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 4557
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 4572
* Prefer {@link ChildrenMixin.findAllWithCriteria} when you know the target node types, and use {@link ChildrenMixin.findAll} when you need callback-based logic. * * Note: If you are curious, the reason why inserting children has to b - Network accessline 4573
* * Note: If you are curious, the reason why inserting children has to be done via API calls is because our internal representation for the layer tree uses [fractional indexing](https://www.figma.com/blog/multiplayer-editing-in-figma/) a - Network accessline 4574
* Note: If you are curious, the reason why inserting children has to be done via API calls is because our internal representation for the layer tree uses [fractional indexing](https://www.figma.com/blog/multiplayer-editing-in-figma/) and {@ - Network accessline 4651
* Nodes are included in **back-to-front** order. Parents always appear before their children, and children appear in same relative order before their children, and children appear in same relative order as in the {@link ChildrenMixin.childr - Network accessline 4652
* * This traversal method is known as ["pre-order traversal"](https://en.wikipedia.org/wiki/Tree_traversal#Pre-order_(NLR)). * - Network accessline 4653
* This traversal method is known as ["pre-order traversal"](https://en.wikipedia.org/wiki/Tree_traversal#Pre-order_(NLR)). - Network accessline 4662
* Caution: ⚠ Large documents in Figma can have tens of thousands of nodes. Be careful using this function as it could be very slow. * If you only need to search immediate children, it is much faster to call `node.children.filter(callback - Network accessline 4663
* If you only need to search immediate children, it is much faster to call `node.children.filter(callback)` or `node.findChildren(callback)`. * Please refer to our [recommendations](https://developers.figma.com/docs/plugins/accessing-doc - Network accessline 4664
* Please refer to our [recommendations](https://developers.figma.com/docs/plugins/accessing-document#full-document-traversal) for how to optimize document traversals. - Network accessline 4684
* Caution: ⚠ Large documents in Figma can have tens of thousands of nodes. Be careful using this function as it could be very slow. * If you only need to search immediate children, it is much faster to call `node.children.find(callback)` - Network accessline 4685
* If you only need to search immediate children, it is much faster to call `node.children.find(callback)` or `node.findChild(callback)`. * Please refer to our [recommendations](https://developers.figma.com/docs/plugins/accessing-document - Network accessline 4686
* Please refer to our [recommendations](https://developers.figma.com/docs/plugins/accessing-document#full-document-traversal) for how to optimize document traversals. - Network accessline 4702
* This is a faster but more limited search compared to {@link ChildrenMixin.findAll}, which lets you search nodes based on any logic you can include in a callback. * * When paired with [`figma.skipInvisibleInstanceChildren = true`](ht - Network accessline 4703
* * When paired with [`figma.skipInvisibleInstanceChildren = true`](https://developers.figma.com/docs/plugins/api/properties/figma-skipinvisibleinstancechildren), this method can be hundreds of times faster in large documents with tens o - Network accessline 4704
* When paired with [`figma.skipInvisibleInstanceChildren = true`](https://developers.figma.com/docs/plugins/api/properties/figma-skipinvisibleinstancechildren), this method can be hundreds of times faster in large documents with tens of tho - Network accessline 4708
* Nodes are included in **back-to-front** order, which is the same order as in {@link ChildrenMixin.findAll}. Parents always appear before their children, and children appear in same relative order before their children, and children appear - Network accessline 4709
* * This traversal method is known as ["pre-order traversal"](https://en.wikipedia.org/wiki/Tree_traversal#Pre-order_(NLR)). * - Network accessline 4710
* This traversal method is known as ["pre-order traversal"](https://en.wikipedia.org/wiki/Tree_traversal#Pre-order_(NLR)). - Network accessline 4808
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 4809
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 4810
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 4821
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 4822
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 4823
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 4920
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 4921
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 4922
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 5047
* This function will not cause its children to resize. Use {@link LayoutMixin.resize} if you need to apply constraints. * * Caution: ⚠<U+FE0F> If this node is a text node with a missing font, the text node will be resized but the text will n - Network accessline 5048
* * Caution: ⚠<U+FE0F> If this node is a text node with a missing font, the text node will be resized but the text will not re-layout until the next time the text node is opened on a machine that _has_ the font. This can cause the text node to - Network accessline 5049
* Caution: ⚠<U+FE0F> If this node is a text node with a missing font, the text node will be resized but the text will not re-layout until the next time the text node is opened on a machine that _has_ the font. This can cause the text node to re-la - Network accessline 5064
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 5065
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 5066
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 5079
* const image = await figma.createNodeFromJSXAsync( * <figma.widget.Image * src="https://picsum.photos/200/300" - Network accessline 5080
* <figma.widget.Image * src="https://picsum.photos/200/300" * width={200} - Network accessline 5081
* src="https://picsum.photos/200/300" - Network accessline 5116
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 5117
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 5118
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 5165
maskType: MaskType /** * Array of effects. See {@link Effect} type. For help on how to change this value, see [Editing Properties](https://developers.figma.com/docs/plugins/editing-properties). - Network accessline 5166
/** * Array of effects. See {@link Effect} type. For help on how to change this value, see [Editing Properties](https://developers.figma.com/docs/plugins/editing-properties). */ - Network accessline 5167
* Array of effects. See {@link Effect} type. For help on how to change this value, see [Editing Properties](https://developers.figma.com/docs/plugins/editing-properties). - Network accessline 5180
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 5181
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 5182
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 5200
declare type HandleMirroring = 'NONE' | 'ANGLE' | 'ANGLE_AND_LENGTH' /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 5201
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 5202
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 5330
counterAxisSizingMode: 'FIXED' | 'AUTO' /** * Applicable only on auto-layout frames. Determines whether strokes are included in [layout calculations](https://help.figma.com/hc/en-us/articles/31289464393751-Use-the-horizontal-and-vertic - Network accessline 5331
/** * Applicable only on auto-layout frames. Determines whether strokes are included in [layout calculations](https://help.figma.com/hc/en-us/articles/31289464393751-Use-the-horizontal-and-vertical-flows-in-auto-layout#01JT9NA4HVT02ZPE7B - Network accessline 5332
* Applicable only on auto-layout frames. Determines whether strokes are included in [layout calculations](https://help.figma.com/hc/en-us/articles/31289464393751-Use-the-horizontal-and-vertical-flows-in-auto-layout#01JT9NA4HVT02ZPE7BA86SFCD - Network accessline 5477
* - In horizontal auto-layout frames, `“MIN”` and `“MAX”` correspond to top and bottom respectively. * - In vertical auto-layout frames, `“MIN”` and `“MAX”` correspond to left and right respectively. * - `"BASELINE"` can only be set o - Network accessline 5478
* - In vertical auto-layout frames, `“MIN”` and `“MAX”` correspond to left and right respectively. * - `"BASELINE"` can only be set on horizontal auto-layout frames, and aligns all children along the [text baseline](https://help.figma.co - Network accessline 5479
* - `"BASELINE"` can only be set on horizontal auto-layout frames, and aligns all children along the [text baseline](https://help.figma.com/hc/en-us/articles/360040451373-Explore-auto-layout-properties#Text_baseline_alignment). - Network accessline 5662
counterAxisSpacing: number | null /** * Applicable only on "HORIZONTAL" or "VERTICAL" auto-layout frames. Determines the [canvas stacking order](https://help.figma.com/hc/en-us/articles/360040451373-Explore-auto-layout-properties#Canva - Network accessline 5663
/** * Applicable only on "HORIZONTAL" or "VERTICAL" auto-layout frames. Determines the [canvas stacking order](https://help.figma.com/hc/en-us/articles/360040451373-Explore-auto-layout-properties#Canvas_stacking_order) of layers in this - Network accessline 5664
* Applicable only on "HORIZONTAL" or "VERTICAL" auto-layout frames. Determines the [canvas stacking order](https://help.figma.com/hc/en-us/articles/360040451373-Explore-auto-layout-properties#Canvas_stacking_order) of layers in this frame. - Network accessline 5703
} /** * @see https://developers.figma.com/docs/plugins/api/GridTrackSize - Network accessline 5704
/** * @see https://developers.figma.com/docs/plugins/api/GridTrackSize */ - Network accessline 5705
* @see https://developers.figma.com/docs/plugins/api/GridTrackSize - Network accessline 5707
interface GridTrackSize { /** * Applicable only on FIXED or FLEX grid tracks. In FIXED tracks, the size of the track in pixels. In FLEX tracks, the fractional unit value (equivalent to the [`fr` unit](https://developer.mozilla.org/en-U - Network accessline 5708
/** * Applicable only on FIXED or FLEX grid tracks. In FIXED tracks, the size of the track in pixels. In FLEX tracks, the fractional unit value (equivalent to the [`fr` unit](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layo - Network accessline 5709
* Applicable only on FIXED or FLEX grid tracks. In FIXED tracks, the size of the track in pixels. In FLEX tracks, the fractional unit value (equivalent to the [`fr` unit](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout/Basi - Network accessline 5712
value?: number /** * The type of the grid track. `FLEX` indicates that the track behaves like the CSS grid [`fr` unit](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout/Basic_concepts_of_grid_layout#the_fr_unit). - Network accessline 5713
/** * The type of the grid track. `FLEX` indicates that the track behaves like the CSS grid [`fr` unit](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout/Basic_concepts_of_grid_layout#the_fr_unit). * `FIXED` indicates t - Network accessline 5714
* The type of the grid track. `FLEX` indicates that the track behaves like the CSS grid [`fr` unit](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout/Basic_concepts_of_grid_layout#the_fr_unit). - Network accessline 5721
/** * Options for {@link GridLayoutMixin.reorderRows} and {@link GridLayoutMixin.reorderColumns}. * @see https://developers.figma.com/docs/plugins/api/GridTrackReorderOptions - Network accessline 5722
* Options for {@link GridLayoutMixin.reorderRows} and {@link GridLayoutMixin.reorderColumns}. * @see https://developers.figma.com/docs/plugins/api/GridTrackReorderOptions */ - Network accessline 5723
* @see https://developers.figma.com/docs/plugins/api/GridTrackReorderOptions - Network accessline 5753
* Describes a single row or column (track)'s movement for a call to {@link GridLayoutMixin.reorderRows} * * @see https://developers.figma.com/docs/plugins/api/GridTrackReorderEntry - Network accessline 5754
* * @see https://developers.figma.com/docs/plugins/api/GridTrackReorderEntry */ - Network accessline 5755
* @see https://developers.figma.com/docs/plugins/api/GridTrackReorderEntry - Network accessline 5762
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 5763
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 5764
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 5932
* - `"ROW_AUTO_FLOW"`: children are placed by layer order into the next available cell in * row-major order (left to right, top to bottom), similar to CSS * [`grid-auto-flow: row`](https://developer.mozilla.org/en-US/docs/Web/CSS/ - Network accessline 5933
* row-major order (left to right, top to bottom), similar to CSS * [`grid-auto-flow: row`](https://developer.mozilla.org/en-US/docs/Web/CSS/grid-auto-flow). * Calling {@link GridChildrenMixin.setGridChildPosition} will throw an - Network accessline 5934
* [`grid-auto-flow: row`](https://developer.mozilla.org/en-US/docs/Web/CSS/grid-auto-flow). - Network accessline 6020
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6021
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 6022
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6083
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6084
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 6085
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6188
} /** * @see https://developers.figma.com/docs/plugins/api/InferredAutoLayoutResult - Network accessline 6189
/** * @see https://developers.figma.com/docs/plugins/api/InferredAutoLayoutResult */ - Network accessline 6190
* @see https://developers.figma.com/docs/plugins/api/InferredAutoLayoutResult - Network accessline 6192
interface InferredAutoLayoutResult extends AutoLayoutChildrenMixin, AutoLayoutMixin {} /** * @see https://developers.figma.com/docs/plugins/api/DetachedInfo - Network accessline 6193
/** * @see https://developers.figma.com/docs/plugins/api/DetachedInfo */ - Network accessline 6194
* @see https://developers.figma.com/docs/plugins/api/DetachedInfo - Network accessline 6204
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6205
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 6206
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6208
interface MinimalStrokesMixin { /** * The paints used to fill the area of the shape's strokes. For help on how to change this value, see [Editing Properties](https://developers.figma.com/docs/plugins/editing-properties). - Network accessline 6209
/** * The paints used to fill the area of the shape's strokes. For help on how to change this value, see [Editing Properties](https://developers.figma.com/docs/plugins/editing-properties). * - Network accessline 6210
* The paints used to fill the area of the shape's strokes. For help on how to change this value, see [Editing Properties](https://developers.figma.com/docs/plugins/editing-properties). - Network accessline 6268
readonly strokeGeometry: VectorPaths /** * Sets the strokes of the node asynchronously. This is the only way to set pattern strokes on a node, since we need to ensure that the source node of the pattern is loaded first. See [Adding Pat - Network accessline 6269
/** * Sets the strokes of the node asynchronously. This is the only way to set pattern strokes on a node, since we need to ensure that the source node of the pattern is loaded first. See [Adding Pattern Fills and Strokes](https://develop - Network accessline 6270
* Sets the strokes of the node asynchronously. This is the only way to set pattern strokes on a node, since we need to ensure that the source node of the pattern is loaded first. See [Adding Pattern Fills and Strokes](https://developers.fig - Network accessline 6273
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6274
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 6275
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6286
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6287
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 6288
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6290
interface MinimalFillsMixin { /** * The paints used to fill the area of the shape. For help on how to change this value, see [Editing Properties](https://developers.figma.com/docs/plugins/editing-properties). - Network accessline 6291
/** * The paints used to fill the area of the shape. For help on how to change this value, see [Editing Properties](https://developers.figma.com/docs/plugins/editing-properties). * - Network accessline 6292
* The paints used to fill the area of the shape. For help on how to change this value, see [Editing Properties](https://developers.figma.com/docs/plugins/editing-properties). - Network accessline 6298
* Use {@link UtilAPI.solidPaint} to create solid paint fills with CSS color strings. * * Page nodes have a [`backgrounds`](https://developers.figma.com/docs/plugins/api/PageNode#backgrounds) property instead of a `fills` property. - Network accessline 6299
* * Page nodes have a [`backgrounds`](https://developers.figma.com/docs/plugins/api/PageNode#backgrounds) property instead of a `fills` property. * - Network accessline 6300
* Page nodes have a [`backgrounds`](https://developers.figma.com/docs/plugins/api/PageNode#backgrounds) property instead of a `fills` property. - Network accessline 6318
setFillStyleIdAsync(styleId: string): Promise<void> /** * Sets the fills of the node asynchronously. This is the only way to set pattern fills on a node, since we need to ensure that the source node of the pattern is loaded first. See - Network accessline 6319
/** * Sets the fills of the node asynchronously. This is the only way to set pattern fills on a node, since we need to ensure that the source node of the pattern is loaded first. See [Adding Pattern Fills and Strokes](https://developers. - Network accessline 6320
* Sets the fills of the node asynchronously. This is the only way to set pattern fills on a node, since we need to ensure that the source node of the pattern is loaded first. See [Adding Pattern Fills and Strokes](https://developers.figma.c - Network accessline 6323
} /** * @see https://developers.figma.com/docs/plugins/api/VariableWidthStrokeProperties - Network accessline 6324
/** * @see https://developers.figma.com/docs/plugins/api/VariableWidthStrokeProperties */ - Network accessline 6325
* @see https://developers.figma.com/docs/plugins/api/VariableWidthStrokeProperties - Network accessline 6332
} /** * @see https://developers.figma.com/docs/plugins/api/VariableWidthStrokeProperties - Network accessline 6333
/** * @see https://developers.figma.com/docs/plugins/api/VariableWidthStrokeProperties */ - Network accessline 6334
* @see https://developers.figma.com/docs/plugins/api/VariableWidthStrokeProperties - Network accessline 6339
} /** * @see https://developers.figma.com/docs/plugins/api/VariableWidthStrokeProperties - Network accessline 6340
/** * @see https://developers.figma.com/docs/plugins/api/VariableWidthStrokeProperties */ - Network accessline 6341
* @see https://developers.figma.com/docs/plugins/api/VariableWidthStrokeProperties - Network accessline 6348
} /** * @see https://developers.figma.com/docs/plugins/api/VariableWidthStrokeProperties - Network accessline 6349
/** * @see https://developers.figma.com/docs/plugins/api/VariableWidthStrokeProperties */ - Network accessline 6350
* @see https://developers.figma.com/docs/plugins/api/VariableWidthStrokeProperties - Network accessline 6353
PresetVariableWidthStrokeProperties | CustomVariableWidthStrokeProperties /** * @see https://developers.figma.com/docs/plugins/api/ComplexStrokeProperties - Network accessline 6354
/** * @see https://developers.figma.com/docs/plugins/api/ComplexStrokeProperties */ - Network accessline 6355
* @see https://developers.figma.com/docs/plugins/api/ComplexStrokeProperties - Network accessline 6362
| BrushStrokeProperties /** * @see https://developers.figma.com/docs/plugins/api/ComplexStrokeProperties - Network accessline 6363
/** * @see https://developers.figma.com/docs/plugins/api/ComplexStrokeProperties */ - Network accessline 6364
* @see https://developers.figma.com/docs/plugins/api/ComplexStrokeProperties - Network accessline 6368
brushType: 'SCATTER' /** * Name of the scatter brush. See the [available brushes](https://developers.figma.com/api/complex-stroke-properties.md#available-brushes) for previews of these brushes. - Network accessline 6369
/** * Name of the scatter brush. See the [available brushes](https://developers.figma.com/api/complex-stroke-properties.md#available-brushes) for previews of these brushes. * Nodes using custom brushes will have this set to 'CUSTOM'. - Network accessline 6370
* Name of the scatter brush. See the [available brushes](https://developers.figma.com/api/complex-stroke-properties.md#available-brushes) for previews of these brushes. - Network accessline 6395
} /** * @see https://developers.figma.com/docs/plugins/api/ComplexStrokeProperties - Network accessline 6396
/** * @see https://developers.figma.com/docs/plugins/api/ComplexStrokeProperties */ - Network accessline 6397
* @see https://developers.figma.com/docs/plugins/api/ComplexStrokeProperties - Network accessline 6401
brushType: 'STRETCH' /** * Name of the stretch brush. See the [available brushes](https://developers.figma.com/api/complex-stroke-properties.md#available-brushes) for previews of these brushes. - Network accessline 6402
/** * Name of the stretch brush. See the [available brushes](https://developers.figma.com/api/complex-stroke-properties.md#available-brushes) for previews of these brushes. * Nodes using custom brushes will have this set to 'CUSTOM'. - Network accessline 6403
* Name of the stretch brush. See the [available brushes](https://developers.figma.com/api/complex-stroke-properties.md#available-brushes) for previews of these brushes. - Network accessline 6425
} /** * @see https://developers.figma.com/docs/plugins/api/ComplexStrokeProperties - Network accessline 6426
/** * @see https://developers.figma.com/docs/plugins/api/ComplexStrokeProperties */ - Network accessline 6427
* @see https://developers.figma.com/docs/plugins/api/ComplexStrokeProperties - Network accessline 6429
type BrushStrokeProperties = StretchBrushProperties | ScatterBrushProperties /** * @see https://developers.figma.com/docs/plugins/api/ComplexStrokeProperties - Network accessline 6430
/** * @see https://developers.figma.com/docs/plugins/api/ComplexStrokeProperties */ - Network accessline 6431
* @see https://developers.figma.com/docs/plugins/api/ComplexStrokeProperties - Network accessline 6442
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6443
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 6444
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6456
strokeCap: StrokeCap | PluginAPI['mixed'] /** * The miter limit on the stroke. This is the same as the [SVG miter limit](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-miterlimit). - Network accessline 6457
/** * The miter limit on the stroke. This is the same as the [SVG miter limit](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-miterlimit). */ - Network accessline 6458
* The miter limit on the stroke. This is the same as the [SVG miter limit](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-miterlimit). - Network accessline 6469
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6470
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 6471
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6494
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6495
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 6496
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6512
* @remarks * * A value of 0 is the default and means that the corner is perfectly circular. A value of 0.6 means the corner matches the iOS 7 "squircle" icon shape. Other values produce various other curves. See [this post](https://ww - Network accessline 6513
* * A value of 0 is the default and means that the corner is perfectly circular. A value of 0.6 means the corner matches the iOS 7 "squircle" icon shape. Other values produce various other curves. See [this post](https://www.figma.com/bl - Network accessline 6514
* A value of 0 is the default and means that the corner is perfectly circular. A value of 0.6 means the corner matches the iOS 7 "squircle" icon shape. Other values produce various other curves. See [this post](https://www.figma.com/blog/de - Network accessline 6517
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6518
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 6519
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6538
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6539
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 6540
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6542
interface ExportMixin { /** * List of export settings stored on the node. For help on how to change this value, see [Editing Properties](https://developers.figma.com/docs/plugins/editing-properties). - Network accessline 6543
/** * List of export settings stored on the node. For help on how to change this value, see [Editing Properties](https://developers.figma.com/docs/plugins/editing-properties). */ - Network accessline 6544
* List of export settings stored on the node. For help on how to change this value, see [Editing Properties](https://developers.figma.com/docs/plugins/editing-properties). - Network accessline 6634
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6635
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 6636
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6687
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6688
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 6689
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6691
interface ReactionMixin { /** * List of [Reactions](https://developers.figma.com/docs/plugins/api/Reaction) on this node, which includes both the method of interaction with this node in a prototype, and the behavior of that interaction - Network accessline 6692
/** * List of [Reactions](https://developers.figma.com/docs/plugins/api/Reaction) on this node, which includes both the method of interaction with this node in a prototype, and the behavior of that interaction. For help on how to change - Network accessline 6693
* List of [Reactions](https://developers.figma.com/docs/plugins/api/Reaction) on this node, which includes both the method of interaction with this node in a prototype, and the behavior of that interaction. For help on how to change this va - Network accessline 6697
* @remarks * * [Prototyping](https://help.figma.com/hc/en-us/articles/360040314193-Guide-to-prototyping-in-Figma) in Figma lets users create connections between nodes that consist of a trigger (click, hover, etc...) and a correspondin - Network accessline 6698
* * [Prototyping](https://help.figma.com/hc/en-us/articles/360040314193-Guide-to-prototyping-in-Figma) in Figma lets users create connections between nodes that consist of a trigger (click, hover, etc...) and a corresponding list of acti - Network accessline 6699
* [Prototyping](https://help.figma.com/hc/en-us/articles/360040314193-Guide-to-prototyping-in-Figma) in Figma lets users create connections between nodes that consist of a trigger (click, hover, etc...) and a corresponding list of actions, - Network accessline 6741
* ``` * * It is also possible to add Advanced Prototyping action types through the Plugin API: [Set Variable](https://help.figma.com/hc/en-us/articles/14506587589399-Use-variables-in-prototypes) and [Conditional](https://help.figma.co - Network accessline 6742
* * It is also possible to add Advanced Prototyping action types through the Plugin API: [Set Variable](https://help.figma.com/hc/en-us/articles/14506587589399-Use-variables-in-prototypes) and [Conditional](https://help.figma.com/hc/en-u - Network accessline 6743
* It is also possible to add Advanced Prototyping action types through the Plugin API: [Set Variable](https://help.figma.com/hc/en-us/articles/14506587589399-Use-variables-in-prototypes) and [Conditional](https://help.figma.com/hc/en-us/art - Network accessline 6852
} /** * @see https://developers.figma.com/docs/plugins/api/DocumentationLink - Network accessline 6853
/** * @see https://developers.figma.com/docs/plugins/api/DocumentationLink */ - Network accessline 6854
* @see https://developers.figma.com/docs/plugins/api/DocumentationLink - Network accessline 6858
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6859
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 6860
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6890
* * ```ts * node.documentationLinks = [{uri: "https://www.figma.com"}] - Network accessline 6891
* ```ts * node.documentationLinks = [{uri: "https://www.figma.com"}] * - Network accessline 6892
* node.documentationLinks = [{uri: "https://www.figma.com"}] - Network accessline 6912
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6913
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 6914
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6924
ExportMixin {} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6925
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 6926
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6950
readonly detachedInfo: DetachedInfo | null /** * Array of {@link LayoutGrid} objects used as layout grids on this node. For help on how to change this value, see [Editing Properties](https://developers.figma.com/docs/plugins/editing-pr - Network accessline 6951
/** * Array of {@link LayoutGrid} objects used as layout grids on this node. For help on how to change this value, see [Editing Properties](https://developers.figma.com/docs/plugins/editing-properties). */ - Network accessline 6952
* Array of {@link LayoutGrid} objects used as layout grids on this node. For help on how to change this value, see [Editing Properties](https://developers.figma.com/docs/plugins/editing-properties). - Network accessline 6968
clipsContent: boolean /** * Array of {@link Guide} used inside the frame. Note that each frame has its own guides, separate from the canvas-wide guides. For help on how to change this value, see [Editing Properties](https://developers. - Network accessline 6969
/** * Array of {@link Guide} used inside the frame. Note that each frame has its own guides, separate from the canvas-wide guides. For help on how to change this value, see [Editing Properties](https://developers.figma.com/docs/plugins/e - Network accessline 6970
* Array of {@link Guide} used inside the frame. Note that each frame has its own guides, separate from the canvas-wide guides. For help on how to change this value, see [Editing Properties](https://developers.figma.com/docs/plugins/editing- - Network accessline 6974
* Returns inferred auto layout properties of a {@link FrameNode} if applicable. Otherwise, returns `null`. * * This is what Figma uses to power Dev Mode’s [code snippets](https://help.figma.com/hc/en-us/articles/15023124644247#Build_f - Network accessline 6975
* * This is what Figma uses to power Dev Mode’s [code snippets](https://help.figma.com/hc/en-us/articles/15023124644247#Build_faster_with_customizable_code_snippets) feature, as it makes sure the generated code is more useful. * - Network accessline 6976
* This is what Figma uses to power Dev Mode’s [code snippets](https://help.figma.com/hc/en-us/articles/15023124644247#Build_faster_with_customizable_code_snippets) feature, as it makes sure the generated code is more useful. - Network accessline 6981
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6982
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 6983
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 7045
* Annotations on the node. * * Learn more about annotations in the [Help Center](https://help.figma.com/hc/en-us/articles/20774752502935) or see the [Annotation type](https://developers.figma.com/docs/plugins/api/Annotation) for usage - Network accessline 7046
* * Learn more about annotations in the [Help Center](https://help.figma.com/hc/en-us/articles/20774752502935) or see the [Annotation type](https://developers.figma.com/docs/plugins/api/Annotation) for usage examples. */ - Network accessline 7047
* Learn more about annotations in the [Help Center](https://help.figma.com/hc/en-us/articles/20774752502935) or see the [Annotation type](https://developers.figma.com/docs/plugins/api/Annotation) for usage examples. - Network accessline 7050
} /** * @see https://developers.figma.com/docs/plugins/api/Measurement - Network accessline 7051
/** * @see https://developers.figma.com/docs/plugins/api/Measurement */ - Network accessline 7052
* @see https://developers.figma.com/docs/plugins/api/Measurement - Network accessline 7066
} /** * @see https://developers.figma.com/docs/plugins/api/MeasurementSide - Network accessline 7067
/** * @see https://developers.figma.com/docs/plugins/api/MeasurementSide */ - Network accessline 7068
* @see https://developers.figma.com/docs/plugins/api/MeasurementSide - Network accessline 7070
type MeasurementSide = 'TOP' | 'RIGHT' | 'BOTTOM' | 'LEFT' /** * @see https://developers.figma.com/docs/plugins/api/MeasurementOffset - Network accessline 7071
/** * @see https://developers.figma.com/docs/plugins/api/MeasurementOffset */ - Network accessline 7072
* @see https://developers.figma.com/docs/plugins/api/MeasurementOffset - Network accessline 7085
* Get all measurements in the current page. * * Learn more about measurements in the [Help Center](https://help.figma.com/hc/en-us/articles/20774752502935). - Network accessline 7086
* * Learn more about measurements in the [Help Center](https://help.figma.com/hc/en-us/articles/20774752502935). */ - Network accessline 7087
* Learn more about measurements in the [Help Center](https://help.figma.com/hc/en-us/articles/20774752502935). - Network accessline 7099
* Measurements can only go on the same axis, i.e. from side `"LEFT"` -> `"LEFT"`, `"LEFT"` -> `"RIGHT"`, `"TOP"` -> `"BOTTOM"` etc. But not `"LEFT"` -> `"TOP"`. * * See the [Measurement type](https://developers.figma.com/docs/plugins/ - Network accessline 7100
* * See the [Measurement type](https://developers.figma.com/docs/plugins/api/Measurement) for usage examples. * - Network accessline 7101
* See the [Measurement type](https://developers.figma.com/docs/plugins/api/Measurement) for usage examples. - Network accessline 7129
* Edit a measurement’s offset. * * See the [Measurement type](https://developers.figma.com/docs/plugins/api/Measurement) for usage examples. - Network accessline 7130
* * See the [Measurement type](https://developers.figma.com/docs/plugins/api/Measurement) for usage examples. * - Network accessline 7131
* See the [Measurement type](https://developers.figma.com/docs/plugins/api/Measurement) for usage examples. - Network accessline 7149
* Delete a measurement. * * See the [Measurement type](https://developers.figma.com/docs/plugins/api/Measurement) for usage examples. - Network accessline 7150
* * See the [Measurement type](https://developers.figma.com/docs/plugins/api/Measurement) for usage examples. * - Network accessline 7151
* See the [Measurement type](https://developers.figma.com/docs/plugins/api/Measurement) for usage examples. - Network accessline 7167
* @remarks * * [Component properties-related properties](https://help.figma.com/hc/en-us/articles/5579474826519-Create-and-use-component-properties) define parts of the component people can change by tying them to specific design prop - Network accessline 7168
* * [Component properties-related properties](https://help.figma.com/hc/en-us/articles/5579474826519-Create-and-use-component-properties) define parts of the component people can change by tying them to specific design properties. You ca - Network accessline 7169
* [Component properties-related properties](https://help.figma.com/hc/en-us/articles/5579474826519-Create-and-use-component-properties) define parts of the component people can change by tying them to specific design properties. You can cre - Network accessline 7353
} /** * @see https://developers.figma.com/docs/plugins/api/TextNode - Network accessline 7354
/** * @see https://developers.figma.com/docs/plugins/api/TextNode */ - Network accessline 7355
* @see https://developers.figma.com/docs/plugins/api/TextNode - Network accessline 7365
fontSize: number | PluginAPI['mixed'] /** * The font family (e.g. `"Inter"`), font style (e.g. `"Regular"`). For [variable fonts](https://developers.figma.com/docs/plugins/api/FontName), also {@link FontName.variationSettings}. Setting - Network accessline 7366
/** * The font family (e.g. `"Inter"`), font style (e.g. `"Regular"`). For [variable fonts](https://developers.figma.com/docs/plugins/api/FontName), also {@link FontName.variationSettings}. Setting this property to a different value requ - Network accessline 7367
* The font family (e.g. `"Inter"`), font style (e.g. `"Regular"`). For [variable fonts](https://developers.figma.com/docs/plugins/api/FontName), also {@link FontName.variationSettings}. Setting this property to a different value requires th - Network accessline 7396
textCase: TextCase | PluginAPI['mixed'] /** * [OpenType features](https://help.figma.com/hc/en-us/articles/4913951097367) that have been explicitly enabled or disabled. - Network accessline 7397
/** * [OpenType features](https://help.figma.com/hc/en-us/articles/4913951097367) that have been explicitly enabled or disabled. * - Network accessline 7398
* [OpenType features](https://help.figma.com/hc/en-us/articles/4913951097367) that have been explicitly enabled or disabled. - Network accessline 7400
* @remarks * * The **Details** tab in the [Type settings panel](https://help.figma.com/hc/en-us/articles/360039956634-Explore-text-properties#type-settings) shows all the OpenType features that are available for the current font. - Network accessline 7401
* * The **Details** tab in the [Type settings panel](https://help.figma.com/hc/en-us/articles/360039956634-Explore-text-properties#type-settings) shows all the OpenType features that are available for the current font. * - Network accessline 7402
* The **Details** tab in the [Type settings panel](https://help.figma.com/hc/en-us/articles/360039956634-Explore-text-properties#type-settings) shows all the OpenType features that are available for the current font. - Network accessline 7408
* Here are some useful resources for learning about OpenType features: * * - [An ode to OpenType [Figma blog]](https://www.figma.com/blog/opentype-font-features/) - Network accessline 7409
* * - [An ode to OpenType [Figma blog]](https://www.figma.com/blog/opentype-font-features/) * - [OpenType feature tags [Microsoft]](https://learn.microsoft.com/en-us/typography/opentype/spec/featuretags) - Network accessline 7410
* - [An ode to OpenType [Figma blog]](https://www.figma.com/blog/opentype-font-features/) - Network accessline 7411
* - [OpenType feature tags [Microsoft]](https://learn.microsoft.com/en-us/typography/opentype/spec/featuretags) - Network accessline 7412
* - [OpenType font features guide [MDN]](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/OpenType_fonts_guide) - Network accessline 7413
* - [OpenType Features in CSS [Sparanoid]](https://sparanoid.com/lab/opentype-features/) - Network accessline 7474
setRangeFontSize(start: number, end: number, value: number): void /** * Get the `fontName` from characters in range `start` (inclusive) to `end` (exclusive). For [variable fonts](https://developers.figma.com/docs/plugins/api/FontName), - Network accessline 7475
/** * Get the `fontName` from characters in range `start` (inclusive) to `end` (exclusive). For [variable fonts](https://developers.figma.com/docs/plugins/api/FontName), the returned {@link FontName} includes {@link FontName.variationSet - Network accessline 7476
* Get the `fontName` from characters in range `start` (inclusive) to `end` (exclusive). For [variable fonts](https://developers.figma.com/docs/plugins/api/FontName), the returned {@link FontName} includes {@link FontName.variationSettings}. - Network accessline 7482
* @remarks * * Accepts a {@link FontNameInput}. Pass `variationSettings` to override specific axes of a [variable font](https://developers.figma.com/docs/plugins/api/FontName). Omit `style` to let Figma pick the named instance closest - Network accessline 7483
* * Accepts a {@link FontNameInput}. Pass `variationSettings` to override specific axes of a [variable font](https://developers.figma.com/docs/plugins/api/FontName). Omit `style` to let Figma pick the named instance closest to `variation - Network accessline 7484
* Accepts a {@link FontNameInput}. Pass `variationSettings` to override specific axes of a [variable font](https://developers.figma.com/docs/plugins/api/FontName). Omit `style` to let Figma pick the named instance closest to `variationSetti - Network accessline 7503
getRangeFontWeight(start: number, end: number): number | PluginAPI['mixed'] /** * Get the `fontName`s from characters in range `start` (inclusive) to `end` (exclusive). For [variable fonts](https://developers.figma.com/docs/plugins/api - Network accessline 7504
/** * Get the `fontName`s from characters in range `start` (inclusive) to `end` (exclusive). For [variable fonts](https://developers.figma.com/docs/plugins/api/FontName), each entry includes {@link FontName.variationSettings}. */ - Network accessline 7505
* Get the `fontName`s from characters in range `start` (inclusive) to `end` (exclusive). For [variable fonts](https://developers.figma.com/docs/plugins/api/FontName), each entry includes {@link FontName.variationSettings}. - Network accessline 7619
* @remarks * * This function provides an easy and performant way to get multiple text properties which may have [mixed values](https://developers.figma.com/docs/plugins/working-with-text#mixed-styles), along with which characters thes - Network accessline 7620
* * This function provides an easy and performant way to get multiple text properties which may have [mixed values](https://developers.figma.com/docs/plugins/working-with-text#mixed-styles), along with which characters these values apply - Network accessline 7621
* This function provides an easy and performant way to get multiple text properties which may have [mixed values](https://developers.figma.com/docs/plugins/working-with-text#mixed-styles), along with which characters these values apply to. - Network accessline 7748
} /** * @see https://developers.figma.com/docs/plugins/api/TextNode - Network accessline 7749
/** * @see https://developers.figma.com/docs/plugins/api/TextNode */ - Network accessline 7750
* @see https://developers.figma.com/docs/plugins/api/TextNode - Network accessline 8031
} /** * @see https://developers.figma.com/docs/plugins/api/TextPathNode - Network accessline 8032
/** * @see https://developers.figma.com/docs/plugins/api/TextPathNode */ - Network accessline 8033
* @see https://developers.figma.com/docs/plugins/api/TextPathNode - Network accessline 8035
interface NonResizableTextPathMixin extends BaseNonResizableTextMixin {} /** * @see https://developers.figma.com/docs/plugins/api/TextNode - Network accessline 8036
/** * @see https://developers.figma.com/docs/plugins/api/TextNode */ - Network accessline 8037
* @see https://developers.figma.com/docs/plugins/api/TextNode - Network accessline 8098
* Nodes are included in **back-to-front** order. Parents always appear before their children, and children appear in same relative order before their children, and children appear in same relative order as in the {@link ChildrenMixin.childr - Network accessline 8099
* * This traversal method is known as ["pre-order traversal"](https://en.wikipedia.org/wiki/Tree_traversal#Pre-order_(NLR)). * - Network accessline 8100
* This traversal method is known as ["pre-order traversal"](https://en.wikipedia.org/wiki/Tree_traversal#Pre-order_(NLR)). - Network accessline 8109
* * Caution: ⚠ Large documents in Figma can have tens of thousands of nodes. Be careful using this function as it could be very slow. * Please refer to our [recommendations](https://developers.figma.com/docs/plugins/accessing-document - Network accessline 8110
* Caution: ⚠ Large documents in Figma can have tens of thousands of nodes. Be careful using this function as it could be very slow. * Please refer to our [recommendations](https://developers.figma.com/docs/plugins/accessing-document#full - Network accessline 8111
* Please refer to our [recommendations](https://developers.figma.com/docs/plugins/accessing-document#full-document-traversal) for how to optimize document traversals. - Network accessline 8132
* * Caution: ⚠ Large documents in Figma can have tens of thousands of nodes. Be careful using this function as it could be very slow. * Please refer to our [recommendations](https://developers.figma.com/docs/plugins/accessing-document - Network accessline 8133
* Caution: ⚠ Large documents in Figma can have tens of thousands of nodes. Be careful using this function as it could be very slow. * Please refer to our [recommendations](https://developers.figma.com/docs/plugins/accessing-document#full - Network accessline 8134
* Please refer to our [recommendations](https://developers.figma.com/docs/plugins/accessing-document#full-document-traversal) for how to optimize document traversals. - Network accessline 8166
* The explicitly set modes for this node. * For `SceneNodes`, represents a subset of {@link SceneNodeMixin.resolvedVariableModes }. * Note that this does not include [workspace and team-default modes](https://help.figma.com/hc/en-us/a - Network accessline 8167
* For `SceneNodes`, represents a subset of {@link SceneNodeMixin.resolvedVariableModes }. * Note that this does not include [workspace and team-default modes](https://help.figma.com/hc/en-us/articles/12611253730071). */ - Network accessline 8168
* Note that this does not include [workspace and team-default modes](https://help.figma.com/hc/en-us/articles/12611253730071). - Network accessline 8350
} /** * @see https://developers.figma.com/docs/plugins/api/TransformGroupNode - Network accessline 8351
/** * @see https://developers.figma.com/docs/plugins/api/TransformGroupNode */ - Network accessline 8352
* @see https://developers.figma.com/docs/plugins/api/TransformGroupNode - Network accessline 8573
} /** * @see https://developers.figma.com/docs/plugins/api/TextPathNode - Network accessline 8574
/** * @see https://developers.figma.com/docs/plugins/api/TextPathNode */ - Network accessline 8575
* @see https://developers.figma.com/docs/plugins/api/TextPathNode - Network accessline 8635
} /** * @see https://developers.figma.com/docs/plugins/api/ComponentPropertyType - Network accessline 8636
/** * @see https://developers.figma.com/docs/plugins/api/ComponentPropertyType */ - Network accessline 8637
* @see https://developers.figma.com/docs/plugins/api/ComponentPropertyType - Network accessline 8639
type ComponentPropertyType = 'BOOLEAN' | 'TEXT' | 'INSTANCE_SWAP' | 'VARIANT' | 'SLOT' /** * @see https://developers.figma.com/docs/plugins/api/InstanceSwapPreferredValue - Network accessline 8640
/** * @see https://developers.figma.com/docs/plugins/api/InstanceSwapPreferredValue */ - Network accessline 8641
* @see https://developers.figma.com/docs/plugins/api/InstanceSwapPreferredValue - Network accessline 8653
} /** * @see https://developers.figma.com/docs/plugins/api/ComponentPropertyOptions - Network accessline 8654
/** * @see https://developers.figma.com/docs/plugins/api/ComponentPropertyOptions */ - Network accessline 8655
* @see https://developers.figma.com/docs/plugins/api/ComponentPropertyOptions - Network accessline 8661
} /** * @see https://developers.figma.com/docs/plugins/api/ComponentPropertyDefinitions - Network accessline 8662
/** * @see https://developers.figma.com/docs/plugins/api/ComponentPropertyDefinitions */ - Network accessline 8663
* @see https://developers.figma.com/docs/plugins/api/ComponentPropertyDefinitions - Network accessline 8691
} /** * @see https://developers.figma.com/docs/plugins/api/ComponentNode - Network accessline 8692
/** * @see https://developers.figma.com/docs/plugins/api/ComponentNode */ - Network accessline 8693
* @see https://developers.figma.com/docs/plugins/api/ComponentNode - Network accessline 8716
} /** * @see https://developers.figma.com/docs/plugins/api/ComponentProperties - Network accessline 8717
/** * @see https://developers.figma.com/docs/plugins/api/ComponentProperties */ - Network accessline 8718
* @see https://developers.figma.com/docs/plugins/api/ComponentProperties - Network accessline 8752
* @remarks * * Learn more about instance swap and override preservation in our <a href="https://help.figma.com/hc/en-us/articles/360039150413-Swap-between-component-instances-in-a-file">help center</a>. If you do not want to preserve - Network accessline 8753
* * Learn more about instance swap and override preservation in our <a href="https://help.figma.com/hc/en-us/articles/360039150413-Swap-between-component-instances-in-a-file">help center</a>. If you do not want to preserve overrides when - Network accessline 8754
* Learn more about instance swap and override preservation in our <a href="https://help.figma.com/hc/en-us/articles/360039150413-Swap-between-component-instances-in-a-file">help center</a>. If you do not want to preserve overrides when swap - Network accessline 8860
authorName: string /** * Indicates whether the sticky note has a [wide rectangular shape](https://help.figma.com/hc/en-us/articles/1500004414322-Sticky-notes-in-FigJam#Size), as opposed to a square shape. - Network accessline 8861
/** * Indicates whether the sticky note has a [wide rectangular shape](https://help.figma.com/hc/en-us/articles/1500004414322-Sticky-notes-in-FigJam#Size), as opposed to a square shape. */ - Network accessline 8862
* Indicates whether the sticky note has a [wide rectangular shape](https://help.figma.com/hc/en-us/articles/1500004414322-Sticky-notes-in-FigJam#Size), as opposed to a square shape. - Network accessline 8880
} /** * @see https://developers.figma.com/docs/plugins/api/TableNode - Network accessline 8881
/** * @see https://developers.figma.com/docs/plugins/api/TableNode */ - Network accessline 8882
* @see https://developers.figma.com/docs/plugins/api/TableNode - Network accessline 8969
} /** * @see https://developers.figma.com/docs/plugins/api/TableCellNode - Network accessline 8970
/** * @see https://developers.figma.com/docs/plugins/api/TableCellNode */ - Network accessline 8971
* @see https://developers.figma.com/docs/plugins/api/TableCellNode - Network accessline 9100
} /** * @see https://developers.figma.com/docs/plugins/api/CodeBlockNode - Network accessline 9101
/** * @see https://developers.figma.com/docs/plugins/api/CodeBlockNode */ - Network accessline 9102
* @see https://developers.figma.com/docs/plugins/api/CodeBlockNode - Network accessline 9138
} /** * @see https://developers.figma.com/docs/plugins/api/LabelSublayer - Network accessline 9139
/** * @see https://developers.figma.com/docs/plugins/api/LabelSublayer */ - Network accessline 9140
* @see https://developers.figma.com/docs/plugins/api/LabelSublayer - Network accessline 9223
| 'PARAGRAPH_INDENT' /** * @see https://developers.figma.com/docs/plugins/api/VariableCodeSyntaxPlatform - Network accessline 9224
/** * @see https://developers.figma.com/docs/plugins/api/VariableCodeSyntaxPlatform */ - Network accessline 9225
* @see https://developers.figma.com/docs/plugins/api/VariableCodeSyntaxPlatform - Network accessline 9265
* The value that a variable resolves to depends on the following: * * - The node consuming the variable and which of the collection's modes is [currently selected in the node](https://help.figma.com/hc/en-us/articles/15343816063383) - Network accessline 9266
* * - The node consuming the variable and which of the collection's modes is [currently selected in the node](https://help.figma.com/hc/en-us/articles/15343816063383) * - The variable's value for the selected mode - Network accessline 9267
* - The node consuming the variable and which of the collection's modes is [currently selected in the node](https://help.figma.com/hc/en-us/articles/15343816063383) - Network accessline 9487
* `in extend: Cannot create extended collections outside of enterprise plan.` * * See [Figma plans and features](https://help.figma.com/hc/en-us/articles/360040328273) for more information. - Network accessline 9488
* * See [Figma plans and features](https://help.figma.com/hc/en-us/articles/360040328273) for more information. * - Network accessline 9489
* See [Figma plans and features](https://help.figma.com/hc/en-us/articles/360040328273) for more information. - Network accessline 9502
* `in addMode: Limited to N modes only`, where N is the mode limit. * * See [Figma plans and features](https://help.figma.com/hc/en-us/articles/360040328273) for more information. - Network accessline 9503
* * See [Figma plans and features](https://help.figma.com/hc/en-us/articles/360040328273) for more information. * - Network accessline 9504
* See [Figma plans and features](https://help.figma.com/hc/en-us/articles/360040328273) for more information. - Network accessline 9586
* Returns the synced state stored on the widget. This is only readable by widgets created by the same `manifest.id`. * * For more information, check out [this page in our widget documentation](https://figma.com/widget-docs/managing-m - Network accessline 9587
* * For more information, check out [this page in our widget documentation](https://figma.com/widget-docs/managing-multiple-widgets#widgetnodewidgetsyncedstate). */ - Network accessline 9588
* For more information, check out [this page in our widget documentation](https://figma.com/widget-docs/managing-multiple-widgets#widgetnodewidgetsyncedstate). - Network accessline 9600
* The srcUrl of an embed is the URL that will be loaded in an iFrame when the embed is activated * * @example https://www.example.com/embed/items/abcdefg - Network accessline 9601
* * @example https://www.example.com/embed/items/abcdefg */ - Network accessline 9602
* @example https://www.example.com/embed/items/abcdefg - Network accessline 9606
* The canonicalUrl of an embed is the URL that will be navigated to when the embed is opened in an external tab * * @example https://www.example.com/items/abcdefg - Network accessline 9607
* * @example https://www.example.com/items/abcdefg */ - Network accessline 9608
* @example https://www.example.com/items/abcdefg - Network accessline 9642
* The URL of the link being unfurled * * Example: https://mynewssite.com/stories/abcdefg - Network accessline 9643
* * Example: https://mynewssite.com/stories/abcdefg */ - Network accessline 9644
* Example: https://mynewssite.com/stories/abcdefg - Network accessline 9715
} /** * @see https://developers.figma.com/docs/plugins/api/SectionNode - Network accessline 9716
/** * @see https://developers.figma.com/docs/plugins/api/SectionNode */ - Network accessline 9717
* @see https://developers.figma.com/docs/plugins/api/SectionNode - Network accessline 9731
readonly type: 'SECTION' /** * Whether the section node contents are [marked as hidden](https://help.figma.com/hc/en-us/articles/4939765379351-Organize-your-FigJam-board-with-sections#Hide_section). - Network accessline 9732
/** * Whether the section node contents are [marked as hidden](https://help.figma.com/hc/en-us/articles/4939765379351-Organize-your-FigJam-board-with-sections#Hide_section). */ - Network accessline 9733
* Whether the section node contents are [marked as hidden](https://help.figma.com/hc/en-us/articles/4939765379351-Organize-your-FigJam-board-with-sections#Hide_section). - Network accessline 9758
} /** * @see https://developers.figma.com/docs/plugins/api/SlideNode - Network accessline 9759
/** * @see https://developers.figma.com/docs/plugins/api/SlideNode */ - Network accessline 9760
* @see https://developers.figma.com/docs/plugins/api/SlideNode - Network accessline 9788
} /** * @see https://developers.figma.com/docs/plugins/api/SlideRowNode - Network accessline 9789
/** * @see https://developers.figma.com/docs/plugins/api/SlideRowNode */ - Network accessline 9790
* @see https://developers.figma.com/docs/plugins/api/SlideRowNode - Network accessline 9801
} /** * @see https://developers.figma.com/docs/plugins/api/SlideGridNode - Network accessline 9802
/** * @see https://developers.figma.com/docs/plugins/api/SlideGridNode */ - Network accessline 9803
* @see https://developers.figma.com/docs/plugins/api/SlideGridNode - Network accessline 9814
} /** * @see https://developers.figma.com/docs/plugins/api/InteractiveSlideElementNode - Network accessline 9815
/** * @see https://developers.figma.com/docs/plugins/api/InteractiveSlideElementNode */ - Network accessline 9816
* @see https://developers.figma.com/docs/plugins/api/InteractiveSlideElementNode - Network accessline 9831
} /** * @see https://developers.figma.com/docs/plugins/api/SlideTransition - Network accessline 9832
/** * @see https://developers.figma.com/docs/plugins/api/SlideTransition */ - Network accessline 9833
* @see https://developers.figma.com/docs/plugins/api/SlideTransition - Network accessline 9885
} /** * @see https://developers.figma.com/docs/plugins/api/node-types - Network accessline 9886
/** * @see https://developers.figma.com/docs/plugins/api/node-types */ - Network accessline 9887
* @see https://developers.figma.com/docs/plugins/api/node-types - Network accessline 9889
type BaseNode = DocumentNode | PageNode | SceneNode /** * @see https://developers.figma.com/docs/plugins/api/node-types - Network accessline 9890
/** * @see https://developers.figma.com/docs/plugins/api/node-types */ - Network accessline 9891
* @see https://developers.figma.com/docs/plugins/api/node-types - Network accessline 9927
| InteractiveSlideElementNode /** * @see https://developers.figma.com/docs/plugins/api/node-types - Network accessline 9928
/** * @see https://developers.figma.com/docs/plugins/api/node-types */ - Network accessline 9929
* @see https://developers.figma.com/docs/plugins/api/node-types - Network accessline 9932
type StyleType = 'PAINT' | 'TEXT' | 'EFFECT' | 'GRID' | 'CUSTOM_ANIMATION' /** * @see https://developers.figma.com/docs/plugins/api/InheritedStyleField - Network accessline 9933
/** * @see https://developers.figma.com/docs/plugins/api/InheritedStyleField */ - Network accessline 9934
* @see https://developers.figma.com/docs/plugins/api/InheritedStyleField - Network accessline 9943
| 'strokeStyleId' /** * @see https://developers.figma.com/docs/plugins/api/StyleConsumers - Network accessline 9944
/** * @see https://developers.figma.com/docs/plugins/api/StyleConsumers */ - Network accessline 9945
* @see https://developers.figma.com/docs/plugins/api/StyleConsumers - Network accessline 10002
textDecoration: TextDecoration /** * Value to replace the text {@link BaseNonResizableTextMixin.fontName} with. For [variable fonts](https://developers.figma.com/docs/plugins/api/FontName), this includes {@link FontName.variationSettin - Network accessline 10003
/** * Value to replace the text {@link BaseNonResizableTextMixin.fontName} with. For [variable fonts](https://developers.figma.com/docs/plugins/api/FontName), this includes {@link FontName.variationSettings}. */ - Network accessline 10004
* Value to replace the text {@link BaseNonResizableTextMixin.fontName} with. For [variable fonts](https://developers.figma.com/docs/plugins/api/FontName), this includes {@link FontName.variationSettings}. - Network accessline 10052
} /** * Binds the provided `field` on this node to the given variable. Please see the [Working with Variables](https://developers.figma.com/docs/plugins/working-with-variables) guide for how to get and set variable bindings. - Network accessline 10053
/** * Binds the provided `field` on this node to the given variable. Please see the [Working with Variables](https://developers.figma.com/docs/plugins/working-with-variables) guide for how to get and set variable bindings. * - Network accessline 10054
* Binds the provided `field` on this node to the given variable. Please see the [Working with Variables](https://developers.figma.com/docs/plugins/working-with-variables) guide for how to get and set variable bindings.
skills/figma-code-connect/SKILL.md
- Network accessline 44
Given: `https://www.figma.com/design/QiEF6w564ggoW8ftcLvdcu/MyDesignSystem?node-id=4185-3778` - Network accessline 44
Given: `https://www.figma.com/design/QiEF6w564ggoW8ftcLvdcu/MyDesignSystem?node-id=4185-3778` - Network accessline 109
// url=https://www.figma.com/file/{fileKey}/{fileName}?node-id={nodeId} - Network accessline 109
// url=https://www.figma.com/file/{fileKey}/{fileName}?node-id={nodeId} - Network accessline 456
Given URL: `https://figma.com/design/abc123/MyFile?node-id=42-100` - Network accessline 456
Given URL: `https://figma.com/design/abc123/MyFile?node-id=42-100` - Network accessline 480
// url=https://figma.com/design/abc123/MyFile?node-id=42-100 - Network accessline 480
// url=https://figma.com/design/abc123/MyFile?node-id=42-100
skills/figma-code-connect/references/advanced-patterns.md
skills/figma-code-connect/references/api.md
- Network accessline 12
// url=https://www.figma.com/file/abc123/MyFile?node-id=123-456 - Network accessline 75
"codeConnect": { "documentUrlSubstitutions": { "<PROD_FILE>": "https://figma.com/design/abc123/Production", - Network accessline 76
"documentUrlSubstitutions": { "<PROD_FILE>": "https://figma.com/design/abc123/Production", "<TEST_FILE>": "https://figma.com/design/xyz789/Testing" - Network accessline 77
"<PROD_FILE>": "https://figma.com/design/abc123/Production", - Network accessline 78
"<TEST_FILE>": "https://figma.com/design/xyz789/Testing" - Network accessline 107
// url=https://www.figma.com/file/abc123/MyFile?node-id=123-456 - Network accessline 131
// url=https://www.figma.com/file/abc123/MyFile?node-id=123-456 - Access to secretsline 551
[Credential-related source omitted] - Access to secretsline 556
[Credential-related source omitted] - Network accessline 574
npx figma connect unpublish --node=https://figma.com/file/abc/File?node-id=123-456 --label=React - Network accessline 725
// url=https://www.figma.com/file/abc/Components?node-id=1-2 - Network accessline 769
// url=https://www.figma.com/file/abc/Components?node-id=10-20 - Network accessline 810
// url=https://www.figma.com/file/abc/Components?node-id=30-40 - Network accessline 846
// url=https://www.figma.com/file/abc/Components?node-id=50-60
skills/figma-generate-design/SKILL.md
- Network accessline 92
**Example:** Code Connect file contains `// url=https://figma.com/design/ABC123/File?node-id=609-35535`. Parse `fileKey` = `ABC123`, `nodeId` = `609:35535`. Run `use_figma` against the **library file** (fileKey `ABC123`, not the target file - Network accessline 92
**Example:** Code Connect file contains `// url=https://figma.com/design/ABC123/File?node-id=609-35535`. Parse `fileKey` = `ABC123`, `nodeId` = `609:35535`. Run `use_figma` against the **library file** (fileKey `ABC123`, not the target file - Network accessline 92
**Example:** Code Connect file contains `// url=https://figma.com/design/ABC123/File?node-id=609-35535`. Parse `fileKey` = `ABC123`, `nodeId` = `609:35535`. Run `use_figma` against the **library file** (fileKey `ABC123`, not the target file - Network accessline 353
// Place / replace an icon from a codebase SVG into a 24px slot const icon = figma.createNodeFromSvg( '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' + - Network accessline 353
// Place / replace an icon from a codebase SVG into a 24px slot const icon = figma.createNodeFromSvg( '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' + - Network accessline 353
// Place / replace an icon from a codebase SVG into a 24px slot const icon = figma.createNodeFromSvg( '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' + - Network accessline 354
const icon = figma.createNodeFromSvg( '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' + '<path d="m9 18 6-6-6-6" stroke="#1A1A1A" stroke-width="2" stroke-linecap="round" stroke-linejoin= - Network accessline 354
const icon = figma.createNodeFromSvg( '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' + '<path d="m9 18 6-6-6-6" stroke="#1A1A1A" stroke-width="2" stroke-linecap="round" stroke-linejoin= - Network accessline 354
const icon = figma.createNodeFromSvg( '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' + '<path d="m9 18 6-6-6-6" stroke="#1A1A1A" stroke-width="2" stroke-linecap="round" stroke-linejoin= - Network accessline 355
'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' + - Network accessline 355
'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' + - Network accessline 355
'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' +
skills/figma-generate-diagram/references/sequence.md
- Access to secretsline 250
[Credential-related source omitted]
skills/figma-generate-library/references/component-creation.md
- Network accessline 507
// Create a simple icon component from SVG const svgNode = figma.createNodeFromSvg( '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' + - Network accessline 507
// Create a simple icon component from SVG const svgNode = figma.createNodeFromSvg( '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' + - Network accessline 508
const svgNode = figma.createNodeFromSvg( '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' + '<path d="M9 18l6-6-6-6" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-l - Network accessline 508
const svgNode = figma.createNodeFromSvg( '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' + '<path d="M9 18l6-6-6-6" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-l - Network accessline 509
'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' + - Network accessline 509
'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' + - Network accessline 600
cs.documentationLinks = [ { uri: 'https://your-storybook.com/button' } - Network accessline 600
cs.documentationLinks = [ { uri: 'https://your-storybook.com/button' } - Network accessline 601
{ uri: 'https://your-storybook.com/button' } - Network accessline 601
{ uri: 'https://your-storybook.com/button' } - Network accessline 876
const cs = await figma.getNodeByIdAsync(CS_ID); cs.description = 'Buttons allow users to take actions and make choices with a single tap.'; cs.documentationLinks = [{ uri: 'https://your-storybook.com/button' }]; - Network accessline 876
const cs = await figma.getNodeByIdAsync(CS_ID); cs.description = 'Buttons allow users to take actions and make choices with a single tap.'; cs.documentationLinks = [{ uri: 'https://your-storybook.com/button' }]; - Network accessline 877
cs.description = 'Buttons allow users to take actions and make choices with a single tap.'; cs.documentationLinks = [{ uri: 'https://your-storybook.com/button' }]; // Add properties — save returned keys - Network accessline 877
cs.description = 'Buttons allow users to take actions and make choices with a single tap.'; cs.documentationLinks = [{ uri: 'https://your-storybook.com/button' }]; // Add properties — save returned keys - Network accessline 878
cs.documentationLinks = [{ uri: 'https://your-storybook.com/button' }]; - Network accessline 878
cs.documentationLinks = [{ uri: 'https://your-storybook.com/button' }];
skills/figma-generate-library/scripts/bindVariablesToComponent.js
- Executable scriptline 1
Executable file
skills/figma-generate-library/scripts/cleanupOrphans.js
- Executable scriptline 1
Executable file
skills/figma-generate-library/scripts/createComponentWithVariants.js
- Executable scriptline 1
Executable file
skills/figma-generate-library/scripts/createDocumentationPage.js
- Executable scriptline 1
Executable file
skills/figma-generate-library/scripts/createSemanticTokens.js
- Executable scriptline 1
Executable file
skills/figma-generate-library/scripts/createVariableCollection.js
- Executable scriptline 1
Executable file
skills/figma-generate-library/scripts/inspectFileStructure.js
- Executable scriptline 1
Executable file
skills/figma-generate-library/scripts/validateCreation.js
- Executable scriptline 1
Executable file
skills/figma-generative-plugins/SKILL.md
- Network accessline 51
`https://www.figma.com/file/new?try-tool-resource-content-id=<id>&try-tool-resource-type=gen_tool&type=design&mode=design`
skills/figma-implement-motion/SKILL.md
- Network accessline 28
- Figma MCP server connected and accessible. - Node ID parsed from the Figma URL the user provides. URL format: `https://figma.com/design/:fileKey/:fileName?node-id=1-2` — extract `fileKey` (the segment after `/design/`) and `nodeId` (the v - Network accessline 29
- Node ID parsed from the Figma URL the user provides. URL format: `https://figma.com/design/:fileKey/:fileName?node-id=1-2` — extract `fileKey` (the segment after `/design/`) and `nodeId` (the value of the `node-id` query parameter, e.g. ` - Network accessline 121
4. **Validate one animation end-to-end before batching.** Build, reload, and watch one full timeline loop — confirm each animated node appears at the time its keyframe track says it should. "Renders without error" is not "renders correctly. - Network accessline 122
5. **Don't fabricate motion.** If a node has no motion data in the response, leave it static. Do not borrow easing/duration defaults from elsewhere in the design, and do not auto-animate "because the rest of the component is animated." 6. * - Network accessline 123
6. **Download assets and reference local files.** `get_design_context` / `get_motion_context` return assets as expiring URLs (`/api/mcp/asset/...`), often SVG. Download each asset into the project with `curl -L` and reference the downloaded - Network accessline 130
- **React**: [motion.dev](https://motion.dev) (the `motion` package). The tool returns motion.dev code directly — use it.
skills/figma-implement-motion/references/framework-recommendations.md
- Network accessline 7
| Target | Default | Why | |---|---|---| | React | [motion.dev](https://motion.dev) (the `motion` package) | Tool emits motion.dev code directly. Supports keyframes, springs, scroll-linked, gesture, layout transitions. | - Network accessline 8
|---|---|---| | React | [motion.dev](https://motion.dev) (the `motion` package) | Tool emits motion.dev code directly. Supports keyframes, springs, scroll-linked, gesture, layout transitions. | | Vanilla / non-React web | CSS `@keyframes` w - Network accessline 9
| React | [motion.dev](https://motion.dev) (the `motion` package) | Tool emits motion.dev code directly. Supports keyframes, springs, scroll-linked, gesture, layout transitions. | - Network accessline 42
|---|---|---| | **Glass / glassmorphism** | CSS `backdrop-filter` first; reach for library only for refractive/liquid effects | Simple glass (blur + transparency + border) is a handful of CSS properties. Fancy liquid/refractive glass often - Network accessline 43
| **Glass / glassmorphism** | CSS `backdrop-filter` first; reach for library only for refractive/liquid effects | Simple glass (blur + transparency + border) is a handful of CSS properties. Fancy liquid/refractive glass often needs WebGL or - Network accessline 44
| **Confetti / particle bursts** | [`canvas-confetti`](https://github.com/catdad/canvas-confetti), [`react-confetti`](https://github.com/alampros/react-confetti), [`party-js`](https://party.js.org/) | Trying to recreate in keyframes produce - Network accessline 45
| **Persistent particle systems** | [`tsParticles`](https://particles.js.org/), or `three.js` / `react-three-fiber` for 3D | Backgrounds, snow, embers, etc. Hand-rolled keyframes can't fake volume and depth well. | - Network accessline 46
| **Scroll-linked motion** | `motion/react`'s `useScroll` + `useTransform`; GSAP `ScrollTrigger` for complex sequences | Scroll-linked requires IntersectionObserver or RAF plumbing. Both listed libraries wrap this correctly including resize - Network accessline 47
| **Text reveal / typewriter / per-character animation** | [`splitting.js`](https://splitting.js.org/), `motion/react` `<TextReveal>` pattern, `anime.js` text plugins | Hand-rolling per-character animation is fragile (breaks on ligatures, R - Network accessline 48
| **SVG path morphing** | GSAP `MorphSVGPlugin`, [`flubber`](https://github.com/veltman/flubber), `motion/react` path utilities | Interpolating between arbitrary SVG paths is nontrivial math. Libraries handle point-count mismatch. |
skills/figma-implement-motion/references/gotchas.md
- Network accessline 79
**Fix**: When an animated element renders blank despite a correct opacity animation, inspect the asset bytes (`curl <asset-url>`) and check for hardcoded `opacity` / `transform` on the root group. Either inline the SVG with the static value
skills/figma-implement-motion/references/svg-and-path-motion.md
- Network accessline 11
- Remove the `<img>` and fetch/inline the SVG markup from the asset URL (`curl <asset-url>`; don't pass the bytes to the Read tool — see the asset rule in SKILL.md).
skills/figma-shaders/SKILL.md
- Network accessline 52
`https://www.figma.com/file/new?try-tool-resource-content-id=<id>&try-tool-resource-type=<gen_effect|gen_fill>&type=design&mode=design`
skills/figma-spec/SKILL.md
- Possible obfuscationline 76
2. **Pass Markdown as plain strings.** Never encode it with `Buffer`/base64 or decode it with `atob()`. Base64 is only for image data URLs inside Markdown. - Network accessline 91
- `` embeds bytes that are decoded and uploaded. - `` is fetched server-side; disallowed hosts are rejected. - Network accessline 92
- `` is fetched server-side; disallowed hosts are rejected.
skills/figma-swiftui/references/design-to-code.md
- Network accessline 105
- **A leading JSX comment linking to HIG docs**, e.g. `{/* iOS and iPadOS 26 component\nDocs: https://developer.apple.com/design/human-interface-guidelines/buttons */}`. Unambiguous — when present, treat the wrapped component as a system co - Network accessline 231
The `imgFoo = "https://…/api/mcp/asset/<uuid>"` URLs in the response expire. Download each asset with `curl -L`, add it to the project's asset catalog, and reference it by asset name. Never reference the temporary URLs in app code. If an im
skills/figma-use-figjam/references/edit-text.md
skills/figma-use/references/api-reference.md
- Network accessline 251
// Documentation links — array of {uri, label} shown as clickable links componentSet.documentationLinks = [ { uri: "https://example.com/docs", label: "Component Docs" } - Network accessline 252
componentSet.documentationLinks = [ { uri: "https://example.com/docs", label: "Component Docs" } ] - Network accessline 253
{ uri: "https://example.com/docs", label: "Component Docs" } - Network accessline 255
// ⚠<U+FE0F> uri MUST be a valid URL (https://...) — relative paths will throw
skills/figma-use/references/gotchas.md
- Network accessline 1005
// CORRECT — import the SVG; createNodeFromSvg returns an editable FrameNode at the SVG's size const icon = figma.createNodeFromSvg( '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' + - Network accessline 1005
// CORRECT — import the SVG; createNodeFromSvg returns an editable FrameNode at the SVG's size const icon = figma.createNodeFromSvg( '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' + - Network accessline 1006
const icon = figma.createNodeFromSvg( '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' + '<path d="M12 5v14M19 12l-7 7-7-7" stroke="#1A1A1A" stroke-width="2" stroke-linecap="round" stroke - Network accessline 1006
const icon = figma.createNodeFromSvg( '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' + '<path d="M12 5v14M19 12l-7 7-7-7" stroke="#1A1A1A" stroke-width="2" stroke-linecap="round" stroke - Network accessline 1007
'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' + - Network accessline 1007
'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">' +
skills/figma-use/references/plugin-api-patterns.md
- Network accessline 139
const svgString = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
skills/figma-use/references/plugin-api-standalone.d.ts
- Network accessline 1
/** * @see https://developers.figma.com/docs/plugins/api/figma - Executable scriptline 1
Executable file - Network accessline 2
* @see https://developers.figma.com/docs/plugins/api/figma - Network accessline 8
readonly apiVersion: '1.0.0' /** * The currently executing command from the `manifest.json` file. It is the command string in the `ManifestMenuItem` (more details in the [manifest guide](https://developers.figma.com/docs/plugins/manife - Network accessline 9
/** * The currently executing command from the `manifest.json` file. It is the command string in the `ManifestMenuItem` (more details in the [manifest guide](https://developers.figma.com/docs/plugins/manifest)). If the plugin does not ha - Network accessline 10
* The currently executing command from the `manifest.json` file. It is the command string in the `ManifestMenuItem` (more details in the [manifest guide](https://developers.figma.com/docs/plugins/manifest)). If the plugin does not have any - Network accessline 12
readonly command: string /** * The current editor type this plugin is running in. See also [Setting editor type](https://developers.figma.com/docs/plugins/setting-editor-type). - Network accessline 13
/** * The current editor type this plugin is running in. See also [Setting editor type](https://developers.figma.com/docs/plugins/setting-editor-type). */ - Network accessline 14
* The current editor type this plugin is running in. See also [Setting editor type](https://developers.figma.com/docs/plugins/setting-editor-type). - Network accessline 25
/** * The file key of the current file this plugin is running on. * **Only [private plugins](https://help.figma.com/hc/en-us/articles/4404228629655-Create-private-organization-plugins) and Figma-owned resources (such as the Jira and A - Network accessline 26
* The file key of the current file this plugin is running on. * **Only [private plugins](https://help.figma.com/hc/en-us/articles/4404228629655-Create-private-organization-plugins) and Figma-owned resources (such as the Jira and Asana wi - Network accessline 27
* **Only [private plugins](https://help.figma.com/hc/en-us/articles/4404228629655-Create-private-organization-plugins) and Figma-owned resources (such as the Jira and Asana widgets) have access to this.** - Network accessline 62
* This property contains methods used to read and set the viewport, the user-visible area of the current page. * * Read more in the [viewport section](https://developers.figma.com/docs/plugins/api/figma-viewport). - Network accessline 63
* * Read more in the [viewport section](https://developers.figma.com/docs/plugins/api/figma-viewport). */ - Network accessline 64
* Read more in the [viewport section](https://developers.figma.com/docs/plugins/api/figma-viewport). - Network accessline 128
* This property contains convenience functions for common operations. * * Read more in the [util section](https://developers.figma.com/docs/plugins/api/figma-util). - Network accessline 129
* * Read more in the [util section](https://developers.figma.com/docs/plugins/api/figma-util). */ - Network accessline 130
* Read more in the [util section](https://developers.figma.com/docs/plugins/api/figma-util). - Network accessline 132
readonly util: UtilAPI /** * This property contains methods to handle user inputs when a plugin is launched in query mode. See [Accepting Parameters as Input](https://developers.figma.com/docs/plugins/plugin-parameters) for more detail - Network accessline 133
/** * This property contains methods to handle user inputs when a plugin is launched in query mode. See [Accepting Parameters as Input](https://developers.figma.com/docs/plugins/plugin-parameters) for more details. */ - Network accessline 134
* This property contains methods to handle user inputs when a plugin is launched in query mode. See [Accepting Parameters as Input](https://developers.figma.com/docs/plugins/plugin-parameters) for more details. - Network accessline 138
* This property contains methods for reading Motion animation styles available in the current document. * * Read more in the [Motion section](https://developers.figma.com/docs/plugins/api/figma-motion). - Network accessline 139
* * Read more in the [Motion section](https://developers.figma.com/docs/plugins/api/figma-motion). */ - Network accessline 140
* Read more in the [Motion section](https://developers.figma.com/docs/plugins/api/figma-motion). - Network accessline 191
* ``` * * Note: Your plugin never needs to know what the actual value of `figma.mixed` is, only that it is a unique, constant value that can be compared against. That being said, this value returns an object of type `symbol` which is - Network accessline 192
* * Note: Your plugin never needs to know what the actual value of `figma.mixed` is, only that it is a unique, constant value that can be compared against. That being said, this value returns an object of type `symbol` which is a more ad - Network accessline 193
* Note: Your plugin never needs to know what the actual value of `figma.mixed` is, only that it is a unique, constant value that can be compared against. That being said, this value returns an object of type `symbol` which is a more advance - Network accessline 323
* @remarks * * By default, parented under `figma.currentPage`. Without setting additional properties, the vector has a bounding box but doesn't have any vertices. There are two ways to assign vertices to a vector node - [`vectorPaths` - Network accessline 324
* * By default, parented under `figma.currentPage`. Without setting additional properties, the vector has a bounding box but doesn't have any vertices. There are two ways to assign vertices to a vector node - [`vectorPaths`](https://deve - Network accessline 325
* By default, parented under `figma.currentPage`. Without setting additional properties, the vector has a bounding box but doesn't have any vertices. There are two ways to assign vertices to a vector node - [`vectorPaths`](https://developer - Network accessline 331
* @remarks * * By default, parented under `figma.currentPage`. Without setting additional properties, the text has no characters. You can assign a string, to the [`characters`](https://developers.figma.com/docs/plugins/api/properties/ - Network accessline 332
* * By default, parented under `figma.currentPage`. Without setting additional properties, the text has no characters. You can assign a string, to the [`characters`](https://developers.figma.com/docs/plugins/api/properties/TextNode-chara - Network accessline 333
* By default, parented under `figma.currentPage`. Without setting additional properties, the text has no characters. You can assign a string, to the [`characters`](https://developers.figma.com/docs/plugins/api/properties/TextNode-characters - Network accessline 854
* You can either pass in a hardcoded font, a font loaded via `listAvailableFontsAsync`, or the font stored on an existing text node. * * Read more about how to work with fonts, when to load them, and how to load them in the [Working w - Network accessline 855
* * Read more about how to work with fonts, when to load them, and how to load them in the [Working with Text](https://developers.figma.com/docs/plugins/working-with-text) page. * - Network accessline 856
* Read more about how to work with fonts, when to load them, and how to load them in the [Working with Text](https://developers.figma.com/docs/plugins/working-with-text) page. - Network accessline 860
* This function only works to load fonts _already accessible in the Figma editor_ available to _plugins_. It does not load fonts from the internet. * * Tip: to load multiple fonts at the same time, you may find [Promise.all](https://d - Network accessline 861
* * Tip: to load multiple fonts at the same time, you may find [Promise.all](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/all) helpful. * - Network accessline 862
* Tip: to load multiple fonts at the same time, you may find [Promise.all](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/all) helpful. * * A common question is whether a plugin needs to be ca - Network accessline 886
loadFontAsync(fontName: FontNameInput): Promise<void> /** * Returns the [OpenType variation axis](https://fonts.google.com/knowledge/glossary/axis_in_variable_fonts) tags a variable font family exposes, or `null` for a static family. T - Network accessline 887
/** * Returns the [OpenType variation axis](https://fonts.google.com/knowledge/glossary/axis_in_variable_fonts) tags a variable font family exposes, or `null` for a static family. These are the tags accepted by {@link FontName.variationS - Network accessline 888
* Returns the [OpenType variation axis](https://fonts.google.com/knowledge/glossary/axis_in_variable_fonts) tags a variable font family exposes, or `null` for a static family. These are the tags accepted by {@link FontName.variationSettings - Network accessline 918
readonly hasMissingFont: boolean /** * Creates a new node from an SVG string. This is equivalent to the SVG import feature in the editor. See the [official documentation on SVG paths](https://www.w3.org/TR/SVG/paths.html) for more deta - Network accessline 919
/** * Creates a new node from an SVG string. This is equivalent to the SVG import feature in the editor. See the [official documentation on SVG paths](https://www.w3.org/TR/SVG/paths.html) for more details. */ - Network accessline 920
* Creates a new node from an SVG string. This is equivalent to the SVG import feature in the editor. See the [official documentation on SVG paths](https://www.w3.org/TR/SVG/paths.html) for more details. - Network accessline 923
/** * Creates an `Image` object from the raw bytes of a file content. Note that `Image` objects **are not nodes**. They are handles to images stored by Figma. Frame backgrounds, or fills of shapes (e.g. a rectangle) may contain images. - Network accessline 924
* Creates an `Image` object from the raw bytes of a file content. Note that `Image` objects **are not nodes**. They are handles to images stored by Figma. Frame backgrounds, or fills of shapes (e.g. a rectangle) may contain images. * [Ex - Network accessline 925
* [Example: how to work with images](https://developers.figma.com/docs/plugins/working-with-images). - Network accessline 1137
} /** * @see https://developers.figma.com/docs/plugins/api/figma-variables - Network accessline 1138
/** * @see https://developers.figma.com/docs/plugins/api/figma-variables */ - Network accessline 1139
* @see https://developers.figma.com/docs/plugins/api/figma-variables - Network accessline 1267
} /** * @see https://developers.figma.com/docs/plugins/api/figma-annotations - Network accessline 1268
/** * @see https://developers.figma.com/docs/plugins/api/figma-annotations */ - Network accessline 1269
* @see https://developers.figma.com/docs/plugins/api/figma-annotations - Network accessline 1333
} /** * @see https://developers.figma.com/docs/plugins/api/figma-teamlibrary - Network accessline 1334
/** * @see https://developers.figma.com/docs/plugins/api/figma-teamlibrary */ - Network accessline 1335
* @see https://developers.figma.com/docs/plugins/api/figma-teamlibrary - Network accessline 1377
* The Motion API is available in Beta. This API is subject to change. * * @see https://developers.figma.com/docs/plugins/api/figma-motion - Network accessline 1378
* * @see https://developers.figma.com/docs/plugins/api/figma-motion */ - Network accessline 1379
* @see https://developers.figma.com/docs/plugins/api/figma-motion - Network accessline 1415
} /** * @see https://developers.figma.com/docs/plugins/api/figma-util - Network accessline 1416
/** * @see https://developers.figma.com/docs/plugins/api/figma-util */ - Network accessline 1417
* @see https://developers.figma.com/docs/plugins/api/figma-util - Network accessline 1539
} /** * @see https://developers.figma.com/docs/plugins/api/figma-viewport - Network accessline 1540
/** * @see https://developers.figma.com/docs/plugins/api/figma-viewport */ - Network accessline 1541
* @see https://developers.figma.com/docs/plugins/api/figma-viewport - Network accessline 1568
} /** * @see https://developers.figma.com/docs/plugins/api/figma-parameters - Network accessline 1569
/** * @see https://developers.figma.com/docs/plugins/api/figma-parameters */ - Network accessline 1570
* @see https://developers.figma.com/docs/plugins/api/figma-parameters - Network accessline 1644
* make the first item in the array passed to `setSuggestions` simply be the string in `query`. * * For a full example of what this can look like, see the [Resizer sample plugin](https://github.com/figma/plugin-samples/blob/master/resi - Network accessline 1645
* * For a full example of what this can look like, see the [Resizer sample plugin](https://github.com/figma/plugin-samples/blob/master/resizer/code.ts) */ - Network accessline 1646
* For a full example of what this can look like, see the [Resizer sample plugin](https://github.com/figma/plugin-samples/blob/master/resizer/code.ts) - Network accessline 1657
} /** * @see https://developers.figma.com/docs/plugins/api/figma-parameters - Network accessline 1658
/** * @see https://developers.figma.com/docs/plugins/api/figma-parameters */ - Network accessline 1659
* @see https://developers.figma.com/docs/plugins/api/figma-parameters - Network accessline 1661
interface ParametersAPI {} /** * @see https://developers.figma.com/docs/plugins/api/NodeChangeProperty - Network accessline 1662
/** * @see https://developers.figma.com/docs/plugins/api/NodeChangeProperty */ - Network accessline 1663
* @see https://developers.figma.com/docs/plugins/api/NodeChangeProperty - Network accessline 1808
} /** * @see https://developers.figma.com/docs/plugins/api/RGB - Network accessline 1809
/** * @see https://developers.figma.com/docs/plugins/api/RGB */ - Network accessline 1810
* @see https://developers.figma.com/docs/plugins/api/RGB - Network accessline 1816
} /** * @see https://developers.figma.com/docs/plugins/api/RGB - Network accessline 1817
/** * @see https://developers.figma.com/docs/plugins/api/RGB */ - Network accessline 1818
* @see https://developers.figma.com/docs/plugins/api/RGB - Network accessline 1825
} /** * @see https://developers.figma.com/docs/plugins/api/FontName - Network accessline 1826
/** * @see https://developers.figma.com/docs/plugins/api/FontName * - Network accessline 1827
* @see https://developers.figma.com/docs/plugins/api/FontName - Network accessline 1831
* @remarks * * Reads always include `family` and `style`. For [variable fonts](https://fonts.google.com/knowledge/glossary/variable_fonts), they also include {@link FontName.variationSettings} with every axis the family defines. Static fo - Network accessline 1832
* * Reads always include `family` and `style`. For [variable fonts](https://fonts.google.com/knowledge/glossary/variable_fonts), they also include {@link FontName.variationSettings} with every axis the family defines. Static fonts omit `va - Network accessline 1833
* Reads always include `family` and `style`. For [variable fonts](https://fonts.google.com/knowledge/glossary/variable_fonts), they also include {@link FontName.variationSettings} with every axis the family defines. Static fonts omit `varia - Network accessline 1859
} /** * @see https://developers.figma.com/docs/plugins/api/FontName - Network accessline 1860
/** * @see https://developers.figma.com/docs/plugins/api/FontName * - Network accessline 1861
* @see https://developers.figma.com/docs/plugins/api/FontName - Network accessline 1862
* * Variable font axis values keyed by [OpenType variation axis](https://fonts.google.com/knowledge/glossary/axis_in_variable_fonts) tag, mirroring the CSS `font-variation-settings` property. A tag is always four ASCII characters. */ - Network accessline 1863
* Variable font axis values keyed by [OpenType variation axis](https://fonts.google.com/knowledge/glossary/axis_in_variable_fonts) tag, mirroring the CSS `font-variation-settings` property. A tag is always four ASCII characters. - Network accessline 1867
} /** * @see https://developers.figma.com/docs/plugins/api/FontName - Network accessline 1868
/** * @see https://developers.figma.com/docs/plugins/api/FontName * - Network accessline 1869
* @see https://developers.figma.com/docs/plugins/api/FontName - Network accessline 2159
} /** * @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2160
/** * @see https://developers.figma.com/docs/plugins/api/Effect */ - Network accessline 2161
* @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2202
} /** * @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2203
/** * @see https://developers.figma.com/docs/plugins/api/Effect */ - Network accessline 2204
* @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2241
} /** * @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2242
/** * @see https://developers.figma.com/docs/plugins/api/Effect */ - Network accessline 2243
* @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2264
} /** * @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2265
/** * @see https://developers.figma.com/docs/plugins/api/Effect */ - Network accessline 2266
* @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2273
} /** * @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2274
/** * @see https://developers.figma.com/docs/plugins/api/Effect */ - Network accessline 2275
* @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2294
} /** * @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2295
/** * @see https://developers.figma.com/docs/plugins/api/Effect */ - Network accessline 2296
* @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2298
type BlurEffect = BlurEffectNormal | BlurEffectProgressive /** * @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2299
/** * @see https://developers.figma.com/docs/plugins/api/Effect */ - Network accessline 2300
* @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2337
} /** * @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2338
/** * @see https://developers.figma.com/docs/plugins/api/Effect */ - Network accessline 2339
* @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2347
} /** * @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2348
/** * @see https://developers.figma.com/docs/plugins/api/Effect */ - Network accessline 2349
* @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2361
} /** * @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2362
/** * @see https://developers.figma.com/docs/plugins/api/Effect */ - Network accessline 2363
* @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2375
} /** * @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2376
/** * @see https://developers.figma.com/docs/plugins/api/Effect */ - Network accessline 2377
* @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2379
type NoiseEffect = NoiseEffectMonotone | NoiseEffectDuotone | NoiseEffectMultitone /** * @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2380
/** * @see https://developers.figma.com/docs/plugins/api/Effect */ - Network accessline 2381
* @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2415
} /** * @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2416
/** * @see https://developers.figma.com/docs/plugins/api/Effect */ - Network accessline 2417
* @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2458
* A shader applied to a node's `effects`. * * @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2459
* * @see https://developers.figma.com/docs/plugins/api/Effect */ - Network accessline 2460
* @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2481
} /** * @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2482
/** * @see https://developers.figma.com/docs/plugins/api/Effect */ - Network accessline 2483
* @see https://developers.figma.com/docs/plugins/api/Effect - Network accessline 2492
| ShaderEffect /** * @see https://developers.figma.com/docs/plugins/api/Constraints - Network accessline 2493
/** * @see https://developers.figma.com/docs/plugins/api/Constraints */ - Network accessline 2494
* @see https://developers.figma.com/docs/plugins/api/Constraints - Network accessline 2496
type ConstraintType = 'MIN' | 'CENTER' | 'MAX' | 'STRETCH' | 'SCALE' /** * @see https://developers.figma.com/docs/plugins/api/Constraints - Network accessline 2497
/** * @see https://developers.figma.com/docs/plugins/api/Constraints */ - Network accessline 2498
* @see https://developers.figma.com/docs/plugins/api/Constraints - Network accessline 2503
} /** * @see https://developers.figma.com/docs/plugins/api/Paint - Network accessline 2504
/** * @see https://developers.figma.com/docs/plugins/api/Paint */ - Network accessline 2505
* @see https://developers.figma.com/docs/plugins/api/Paint - Network accessline 2522
} /** * @see https://developers.figma.com/docs/plugins/api/Paint - Network accessline 2523
/** * @see https://developers.figma.com/docs/plugins/api/Paint */ - Network accessline 2524
* @see https://developers.figma.com/docs/plugins/api/Paint - Network accessline 2534
} /** * @see https://developers.figma.com/docs/plugins/api/Paint - Network accessline 2535
/** * @see https://developers.figma.com/docs/plugins/api/Paint */ - Network accessline 2536
* @see https://developers.figma.com/docs/plugins/api/Paint - Network accessline 2589
} /** * @see https://developers.figma.com/docs/plugins/api/Paint - Network accessline 2590
/** * @see https://developers.figma.com/docs/plugins/api/Paint */ - Network accessline 2591
* @see https://developers.figma.com/docs/plugins/api/Paint - Network accessline 2609
} /** * @see https://developers.figma.com/docs/plugins/api/Paint - Network accessline 2610
/** * @see https://developers.figma.com/docs/plugins/api/Paint */ - Network accessline 2611
* @see https://developers.figma.com/docs/plugins/api/Paint - Network accessline 2645
} /** * @see https://developers.figma.com/docs/plugins/api/Paint - Network accessline 2646
/** * @see https://developers.figma.com/docs/plugins/api/Paint */ - Network accessline 2647
* @see https://developers.figma.com/docs/plugins/api/Paint - Network accessline 2681
} /** * @see https://developers.figma.com/docs/plugins/api/Paint - Network accessline 2682
/** * @see https://developers.figma.com/docs/plugins/api/Paint */ - Network accessline 2683
* @see https://developers.figma.com/docs/plugins/api/Paint - Network accessline 2715
* A shader applied to a node's `fills` or `strokes`. * * @see https://developers.figma.com/docs/plugins/api/Paint - Network accessline 2716
* * @see https://developers.figma.com/docs/plugins/api/Paint */ - Network accessline 2717
* @see https://developers.figma.com/docs/plugins/api/Paint - Network accessline 2737
} /** * @see https://developers.figma.com/docs/plugins/api/Paint - Network accessline 2738
/** * @see https://developers.figma.com/docs/plugins/api/Paint */ - Network accessline 2739
* @see https://developers.figma.com/docs/plugins/api/Paint - Network accessline 2743
* A single value assignable to a shader property, read from or written to the `properties` map of a {@link ShaderEffect} or {@link ShaderPaint}. The shape that's valid for a given property depends on that property's declared `type` in its { - Network accessline 2744
* * @see https://developers.figma.com/docs/plugins/api/Shader */ - Network accessline 2745
* @see https://developers.figma.com/docs/plugins/api/Shader - Network accessline 2787
* A read-only description of one property declared by a shader. Surfaced via the `propertyDefinitions` field of a {@link Shader}, keyed by property-definition id. * * @see https://developers.figma.com/docs/plugins/api/Shader - Network accessline 2788
* * @see https://developers.figma.com/docs/plugins/api/Shader */ - Network accessline 2789
* @see https://developers.figma.com/docs/plugins/api/Shader - Network accessline 2823
* A shader available to the current file, as returned by {@link PluginAPI.listAvailableShaders} and {@link PluginAPI.importShaderById}. * * @see https://developers.figma.com/docs/plugins/api/Shader - Network accessline 2824
* * @see https://developers.figma.com/docs/plugins/api/Shader */ - Network accessline 2825
* @see https://developers.figma.com/docs/plugins/api/Shader - Network accessline 2854
} /** * @see https://developers.figma.com/docs/plugins/api/LayoutGrid - Network accessline 2855
/** * @see https://developers.figma.com/docs/plugins/api/LayoutGrid */ - Network accessline 2856
* @see https://developers.figma.com/docs/plugins/api/LayoutGrid - Network accessline 2897
} /** * @see https://developers.figma.com/docs/plugins/api/LayoutGrid - Network accessline 2898
/** * @see https://developers.figma.com/docs/plugins/api/LayoutGrid */ - Network accessline 2899
* @see https://developers.figma.com/docs/plugins/api/LayoutGrid - Network accessline 2915
} /** * @see https://developers.figma.com/docs/plugins/api/LayoutGrid - Network accessline 2916
/** * @see https://developers.figma.com/docs/plugins/api/LayoutGrid */ - Network accessline 2917
* @see https://developers.figma.com/docs/plugins/api/LayoutGrid - Network accessline 2919
type LayoutGrid = RowsColsLayoutGrid | GridLayoutGrid /** * @see https://developers.figma.com/docs/plugins/api/ExportSettings - Network accessline 2920
/** * @see https://developers.figma.com/docs/plugins/api/ExportSettings */ - Network accessline 2921
* @see https://developers.figma.com/docs/plugins/api/ExportSettings - Network accessline 2926
} /** * @see https://developers.figma.com/docs/plugins/api/ExportSettings - Network accessline 2927
/** * @see https://developers.figma.com/docs/plugins/api/ExportSettings */ - Network accessline 2928
* @see https://developers.figma.com/docs/plugins/api/ExportSettings - Network accessline 2971
* * - `"DOCUMENT"`: Use the color profile of {@link DocumentNode.documentColorProfile}. * - `"SRGB"`: Use sRGB colors. This was the previous behavior of Figma before [color management](https://help.figma.com/hc/en-us/articles/36003982 - Network accessline 2972
* - `"DOCUMENT"`: Use the color profile of {@link DocumentNode.documentColorProfile}. * - `"SRGB"`: Use sRGB colors. This was the previous behavior of Figma before [color management](https://help.figma.com/hc/en-us/articles/360039825114) - Network accessline 2973
* - `"SRGB"`: Use sRGB colors. This was the previous behavior of Figma before [color management](https://help.figma.com/hc/en-us/articles/360039825114). - Network accessline 2999
} /** * @see https://developers.figma.com/docs/plugins/api/ExportSettings - Network accessline 3000
/** * @see https://developers.figma.com/docs/plugins/api/ExportSettings */ - Network accessline 3001
* @see https://developers.figma.com/docs/plugins/api/ExportSettings - Network accessline 3009
} /** * @see https://developers.figma.com/docs/plugins/api/ExportSettings - Network accessline 3010
/** * @see https://developers.figma.com/docs/plugins/api/ExportSettings */ - Network accessline 3011
* @see https://developers.figma.com/docs/plugins/api/ExportSettings - Network accessline 3018
} /** * @see https://developers.figma.com/docs/plugins/api/ExportSettings - Network accessline 3019
/** * @see https://developers.figma.com/docs/plugins/api/ExportSettings */ - Network accessline 3020
* @see https://developers.figma.com/docs/plugins/api/ExportSettings - Network accessline 3032
} /** * @see https://developers.figma.com/docs/plugins/api/ExportSettings - Network accessline 3033
/** * @see https://developers.figma.com/docs/plugins/api/ExportSettings */ - Network accessline 3034
* @see https://developers.figma.com/docs/plugins/api/ExportSettings - Network accessline 3036
interface ExportSettingsREST { /** * Returns the equivalent REST API response of hitting the endpoint `https://api.figma.com/v1/files/:file_key/nodes?ids=:id`. - Network accessline 3037
/** * Returns the equivalent REST API response of hitting the endpoint `https://api.figma.com/v1/files/:file_key/nodes?ids=:id`. * - Network accessline 3038
* Returns the equivalent REST API response of hitting the endpoint `https://api.figma.com/v1/files/:file_key/nodes?ids=:id`. - Network accessline 3056
* ``` * * For more information on the shape of the output of the 'JSON_REST_V1' format, see the [files](https://developers.figma.com/docs/rest-api/files) documentation. - Network accessline 3057
* * For more information on the shape of the output of the 'JSON_REST_V1' format, see the [files](https://developers.figma.com/docs/rest-api/files) documentation. */ - Network accessline 3058
* For more information on the shape of the output of the 'JSON_REST_V1' format, see the [files](https://developers.figma.com/docs/rest-api/files) documentation. - Network accessline 3061
} /** * @see https://developers.figma.com/docs/plugins/api/ExportSettings - Network accessline 3062
/** * @see https://developers.figma.com/docs/plugins/api/ExportSettings */ - Network accessline 3063
* @see https://developers.figma.com/docs/plugins/api/ExportSettings - Network accessline 3065
type ExportSettings = ExportSettingsImage | ExportSettingsSVG | ExportSettingsPDF /** * @see https://developers.figma.com/docs/plugins/api/properties/VectorPath-windingrule - Network accessline 3066
/** * @see https://developers.figma.com/docs/plugins/api/properties/VectorPath-windingrule */ - Network accessline 3067
* @see https://developers.figma.com/docs/plugins/api/properties/VectorPath-windingrule - Network accessline 3069
type WindingRule = 'NONZERO' | 'EVENODD' /** * @see https://developers.figma.com/docs/plugins/api/VectorNetwork - Network accessline 3070
/** * @see https://developers.figma.com/docs/plugins/api/VectorNetwork */ - Network accessline 3071
* @see https://developers.figma.com/docs/plugins/api/VectorNetwork - Network accessline 3098
} /** * @see https://developers.figma.com/docs/plugins/api/VectorNetwork - Network accessline 3099
/** * @see https://developers.figma.com/docs/plugins/api/VectorNetwork */ - Network accessline 3100
* @see https://developers.figma.com/docs/plugins/api/VectorNetwork - Network accessline 3119
} /** * @see https://developers.figma.com/docs/plugins/api/VectorNetwork - Network accessline 3120
/** * @see https://developers.figma.com/docs/plugins/api/VectorNetwork */ - Network accessline 3121
* @see https://developers.figma.com/docs/plugins/api/VectorNetwork - Network accessline 3140
} /** * @see https://developers.figma.com/docs/plugins/api/VectorNetwork - Network accessline 3141
/** * @see https://developers.figma.com/docs/plugins/api/VectorNetwork */ - Network accessline 3142
* @see https://developers.figma.com/docs/plugins/api/VectorNetwork - Network accessline 3157
} /** * @see https://developers.figma.com/docs/plugins/api/VectorPath - Network accessline 3158
/** * @see https://developers.figma.com/docs/plugins/api/VectorPath */ - Network accessline 3159
* @see https://developers.figma.com/docs/plugins/api/VectorPath - Network accessline 3169
* ``` * * Winding rules work off a concept called the winding number, which tells you for a given point how many times the path winds around that point. This is described in much more detail [here](https://oreillymedia.github.io/Using - Network accessline 3170
* * Winding rules work off a concept called the winding number, which tells you for a given point how many times the path winds around that point. This is described in much more detail [here](https://oreillymedia.github.io/Using_SVG/extr - Network accessline 3171
* Winding rules work off a concept called the winding number, which tells you for a given point how many times the path winds around that point. This is described in much more detail [here](https://oreillymedia.github.io/Using_SVG/extras/ch - Network accessline 3190
} /** * @see https://developers.figma.com/docs/plugins/api/VectorPath - Network accessline 3191
/** * @see https://developers.figma.com/docs/plugins/api/VectorPath */ - Network accessline 3192
* @see https://developers.figma.com/docs/plugins/api/VectorPath - Network accessline 3207
type LeadingTrim = 'CAP_HEIGHT' | 'NONE' /** * @see https://developers.figma.com/docs/plugins/api/TextWrapStyle - Network accessline 3208
/** * @see https://developers.figma.com/docs/plugins/api/TextWrapStyle */ - Network accessline 3209
* @see https://developers.figma.com/docs/plugins/api/TextWrapStyle - Network accessline 3215
} /** * @see https://developers.figma.com/docs/plugins/api/TextListOptions - Network accessline 3216
/** * @see https://developers.figma.com/docs/plugins/api/TextListOptions */ - Network accessline 3217
* @see https://developers.figma.com/docs/plugins/api/TextListOptions - Network accessline 3242
type MaskType = 'ALPHA' | 'VECTOR' | 'LUMINANCE' /** * @see https://developers.figma.com/docs/plugins/api/FontName - Network accessline 3243
/** * @see https://developers.figma.com/docs/plugins/api/FontName */ - Network accessline 3244
* @see https://developers.figma.com/docs/plugins/api/FontName - Network accessline 3248
} /** * @see https://developers.figma.com/docs/plugins/api/TextStyleOverrides - Network accessline 3249
/** * @see https://developers.figma.com/docs/plugins/api/TextStyleOverrides */ - Network accessline 3250
* @see https://developers.figma.com/docs/plugins/api/TextStyleOverrides - Network accessline 3271
fontSize: number /** * The font family (e.g. `"Inter"`), font style (e.g. `"Regular"`). For [variable fonts](https://developers.figma.com/docs/plugins/api/FontName), also {@link FontName.variationSettings}. - Network accessline 3272
/** * The font family (e.g. `"Inter"`), font style (e.g. `"Regular"`). For [variable fonts](https://developers.figma.com/docs/plugins/api/FontName), also {@link FontName.variationSettings}. */ - Network accessline 3273
* The font family (e.g. `"Inter"`), font style (e.g. `"Regular"`). For [variable fonts](https://developers.figma.com/docs/plugins/api/FontName), also {@link FontName.variationSettings}. - Network accessline 3376
} /** * @see https://developers.figma.com/docs/plugins/api/TextPathStartData - Network accessline 3377
/** * @see https://developers.figma.com/docs/plugins/api/TextPathStartData * - Network accessline 3378
* @see https://developers.figma.com/docs/plugins/api/TextPathStartData - Network accessline 3427
} /** * @see https://developers.figma.com/docs/plugins/api/Action - Network accessline 3428
/** * @see https://developers.figma.com/docs/plugins/api/Action */ - Network accessline 3429
* @see https://developers.figma.com/docs/plugins/api/Action - Network accessline 3481
} /** * @see https://developers.figma.com/docs/plugins/api/Transition - Network accessline 3482
/** * @see https://developers.figma.com/docs/plugins/api/Transition */ - Network accessline 3483
* @see https://developers.figma.com/docs/plugins/api/Transition - Network accessline 3489
} /** * @see https://developers.figma.com/docs/plugins/api/Transition - Network accessline 3490
/** * @see https://developers.figma.com/docs/plugins/api/Transition */ - Network accessline 3491
* @see https://developers.figma.com/docs/plugins/api/Transition - Network accessline 3499
} /** * @see https://developers.figma.com/docs/plugins/api/Transition - Network accessline 3500
/** * @see https://developers.figma.com/docs/plugins/api/Transition */ - Network accessline 3501
* @see https://developers.figma.com/docs/plugins/api/Transition - Network accessline 3532
} /** * @see https://developers.figma.com/docs/plugins/api/Action - Network accessline 3533
/** * @see https://developers.figma.com/docs/plugins/api/Action */ - Network accessline 3534
* @see https://developers.figma.com/docs/plugins/api/Action - Network accessline 3536
type Navigation = 'NAVIGATE' | 'SWAP' | 'OVERLAY' | 'SCROLL_TO' | 'CHANGE_TO' /** * @see https://developers.figma.com/docs/plugins/api/Transition - Network accessline 3537
/** * @see https://developers.figma.com/docs/plugins/api/Transition */ - Network accessline 3538
* @see https://developers.figma.com/docs/plugins/api/Transition - Network accessline 3557
} /** * @see https://developers.figma.com/docs/plugins/api/Transition - Network accessline 3558
/** * @see https://developers.figma.com/docs/plugins/api/Transition */ - Network accessline 3559
* @see https://developers.figma.com/docs/plugins/api/Transition - Network accessline 3572
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3573
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3574
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3594
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3595
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3596
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3602
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3603
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3604
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3611
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3612
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3613
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3615
type AnimationStylePropValue = string | number | boolean | MotionEasing | VariableAlias /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3616
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3617
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3619
type AvailableAnimationStylePropValue = string /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3620
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3621
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3626
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3627
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3628
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3635
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3636
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3637
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3653
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3654
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3655
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3663
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3664
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3665
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3668
FigmaAnimationStyleConfiguration | CustomAnimationStyleConfiguration /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3669
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3670
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3680
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3681
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3682
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3687
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3688
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3689
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3694
* `style.animationEntries` and created by `style.addAnimationEntryAsync()`. * * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3695
* * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3696
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3698
type AnimationEntry = AppliedFigmaAnimationStyle /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3699
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3700
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3756
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3757
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3758
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3768
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3769
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3770
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3776
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3777
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3778
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3783
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3784
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3785
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3791
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3792
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3793
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3799
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3800
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3801
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3807
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3808
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3809
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3841
| 'PATH_TRIM_END' /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3842
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3843
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3862
| 'SECONDARY_COLOR' /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3863
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3864
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3893
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3894
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3895
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3897
type ComponentPropKeyframeTracks = Partial<Record<string, ManualKeyframeBinding>> /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3898
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3899
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3901
type ComponentPropKeyframeBindings = Partial<Record<string, KeyframeBinding>> /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3902
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3903
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3909
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3910
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3911
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3917
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3918
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3919
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3925
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3926
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3927
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3931
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3932
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3933
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3939
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3940
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3941
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3947
} /** * @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3948
/** * @see https://developers.figma.com/docs/plugins/api/Motion */ - Network accessline 3949
* @see https://developers.figma.com/docs/plugins/api/Motion - Network accessline 3958
type OverflowDirection = 'NONE' | 'HORIZONTAL' | 'VERTICAL' | 'BOTH' /** * @see https://developers.figma.com/docs/plugins/api/Overlay - Network accessline 3959
/** * @see https://developers.figma.com/docs/plugins/api/Overlay */ - Network accessline 3960
* @see https://developers.figma.com/docs/plugins/api/Overlay - Network accessline 3970
| 'MANUAL' /** * @see https://developers.figma.com/docs/plugins/api/Overlay - Network accessline 3971
/** * @see https://developers.figma.com/docs/plugins/api/Overlay */ - Network accessline 3972
* @see https://developers.figma.com/docs/plugins/api/Overlay - Network accessline 3981
} /** * @see https://developers.figma.com/docs/plugins/api/Overlay - Network accessline 3982
/** * @see https://developers.figma.com/docs/plugins/api/Overlay */ - Network accessline 3983
* @see https://developers.figma.com/docs/plugins/api/Overlay - Network accessline 3985
type OverlayBackgroundInteraction = 'NONE' | 'CLOSE_ON_CLICK_OUTSIDE' /** * @see https://developers.figma.com/docs/plugins/api/PublishStatus - Network accessline 3986
/** * @see https://developers.figma.com/docs/plugins/api/PublishStatus */ - Network accessline 3987
* @see https://developers.figma.com/docs/plugins/api/PublishStatus - Network accessline 4006
} /** * @see https://developers.figma.com/docs/plugins/api/ConnectorEndpoint - Network accessline 4007
/** * @see https://developers.figma.com/docs/plugins/api/ConnectorEndpoint */ - Network accessline 4008
* @see https://developers.figma.com/docs/plugins/api/ConnectorEndpoint - Network accessline 4013
| ConnectorEndpointPositionAndEndpointNodeId /** * @see https://developers.figma.com/docs/plugins/api/ConnectorStrokeCap - Network accessline 4014
/** * @see https://developers.figma.com/docs/plugins/api/ConnectorStrokeCap */ - Network accessline 4015
* @see https://developers.figma.com/docs/plugins/api/ConnectorStrokeCap - Network accessline 4029
| 'ERD_MANY' /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 4030
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 4031
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 4100
* Returns true if Figma detects that a node is an asset, otherwise returns false. An asset is is either an icon or a raster image. * * This property is useful if you're building a [plugin for code generation](https://developers.figma. - Network accessline 4101
* * This property is useful if you're building a [plugin for code generation](https://developers.figma.com/docs/plugins/codegen-plugins). * - Network accessline 4102
* This property is useful if you're building a [plugin for code generation](https://developers.figma.com/docs/plugins/codegen-plugins). - Network accessline 4106
readonly isAsset: boolean /** * Resolves to a JSON object of CSS properties of the node. This is the same CSS that Figma shows in the inspect panel and is helpful if you are building a [plugin for code generation](https://developers.fi - Network accessline 4107
/** * Resolves to a JSON object of CSS properties of the node. This is the same CSS that Figma shows in the inspect panel and is helpful if you are building a [plugin for code generation](https://developers.figma.com/docs/plugins/codegen - Network accessline 4108
* Resolves to a JSON object of CSS properties of the node. This is the same CSS that Figma shows in the inspect panel and is helpful if you are building a [plugin for code generation](https://developers.figma.com/docs/plugins/codegen-plugin - Network accessline 4120
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 4121
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 4122
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 4177
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 4178
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 4179
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 4229
| null /** * The variables bound to a particular field on this node. Please see the [Working with Variables](https://developers.figma.com/docs/plugins/working-with-variables) guide for how to get and set variable bindings. - Network accessline 4230
/** * The variables bound to a particular field on this node. Please see the [Working with Variables](https://developers.figma.com/docs/plugins/working-with-variables) guide for how to get and set variable bindings. * - Network accessline 4231
* The variables bound to a particular field on this node. Please see the [Working with Variables](https://developers.figma.com/docs/plugins/working-with-variables) guide for how to get and set variable bindings. - Network accessline 4251
} /** * Binds the provided `field` on this node to the given variable. Please see the [Working with Variables](https://developers.figma.com/docs/plugins/working-with-variables) guide for how to get and set variable bindings. - Network accessline 4252
/** * Binds the provided `field` on this node to the given variable. Please see the [Working with Variables](https://developers.figma.com/docs/plugins/working-with-variables) guide for how to get and set variable bindings. * - Network accessline 4253
* Binds the provided `field` on this node to the given variable. Please see the [Working with Variables](https://developers.figma.com/docs/plugins/working-with-variables) guide for how to get and set variable bindings. - Network accessline 4267
* @remarks * * Inferred variables are only returned for a field when it is not using a [bound variable](https://developers.figma.com/docs/plugins/api/node-properties#boundvariables). - Network accessline 4268
* * Inferred variables are only returned for a field when it is not using a [bound variable](https://developers.figma.com/docs/plugins/api/node-properties#boundvariables). * - Network accessline 4269
* Inferred variables are only returned for a field when it is not using a [bound variable](https://developers.figma.com/docs/plugins/api/node-properties#boundvariables). - Network accessline 4291
* @remarks * * The set of resolved modes on a node includes the explicitly set modes on the node, as well as the explicitly set modes on ancestors of the node. By default, nodes [automatically inherit](https://help.figma.com/hc/en-us/ - Network accessline 4292
* * The set of resolved modes on a node includes the explicitly set modes on the node, as well as the explicitly set modes on ancestors of the node. By default, nodes [automatically inherit](https://help.figma.com/hc/en-us/articles/15343 - Network accessline 4293
* The set of resolved modes on a node includes the explicitly set modes on the node, as well as the explicitly set modes on ancestors of the node. By default, nodes [automatically inherit](https://help.figma.com/hc/en-us/articles/1534381606 - Network accessline 4331
* Motion node properties and methods are available in Beta. This API is subject to change. * * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 4332
* * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 4333
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 4542
type VariableBindableComponentPropertyDefinitionField = 'defaultValue' /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 4543
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 4544
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 4555
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 4556
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 4557
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 4572
* Prefer {@link ChildrenMixin.findAllWithCriteria} when you know the target node types, and use {@link ChildrenMixin.findAll} when you need callback-based logic. * * Note: If you are curious, the reason why inserting children has to b - Network accessline 4573
* * Note: If you are curious, the reason why inserting children has to be done via API calls is because our internal representation for the layer tree uses [fractional indexing](https://www.figma.com/blog/multiplayer-editing-in-figma/) a - Network accessline 4574
* Note: If you are curious, the reason why inserting children has to be done via API calls is because our internal representation for the layer tree uses [fractional indexing](https://www.figma.com/blog/multiplayer-editing-in-figma/) and {@ - Network accessline 4651
* Nodes are included in **back-to-front** order. Parents always appear before their children, and children appear in same relative order before their children, and children appear in same relative order as in the {@link ChildrenMixin.childr - Network accessline 4652
* * This traversal method is known as ["pre-order traversal"](https://en.wikipedia.org/wiki/Tree_traversal#Pre-order_(NLR)). * - Network accessline 4653
* This traversal method is known as ["pre-order traversal"](https://en.wikipedia.org/wiki/Tree_traversal#Pre-order_(NLR)). - Network accessline 4662
* Caution: ⚠ Large documents in Figma can have tens of thousands of nodes. Be careful using this function as it could be very slow. * If you only need to search immediate children, it is much faster to call `node.children.filter(callback - Network accessline 4663
* If you only need to search immediate children, it is much faster to call `node.children.filter(callback)` or `node.findChildren(callback)`. * Please refer to our [recommendations](https://developers.figma.com/docs/plugins/accessing-doc - Network accessline 4664
* Please refer to our [recommendations](https://developers.figma.com/docs/plugins/accessing-document#full-document-traversal) for how to optimize document traversals. - Network accessline 4684
* Caution: ⚠ Large documents in Figma can have tens of thousands of nodes. Be careful using this function as it could be very slow. * If you only need to search immediate children, it is much faster to call `node.children.find(callback)` - Network accessline 4685
* If you only need to search immediate children, it is much faster to call `node.children.find(callback)` or `node.findChild(callback)`. * Please refer to our [recommendations](https://developers.figma.com/docs/plugins/accessing-document - Network accessline 4686
* Please refer to our [recommendations](https://developers.figma.com/docs/plugins/accessing-document#full-document-traversal) for how to optimize document traversals. - Network accessline 4702
* This is a faster but more limited search compared to {@link ChildrenMixin.findAll}, which lets you search nodes based on any logic you can include in a callback. * * When paired with [`figma.skipInvisibleInstanceChildren = true`](ht - Network accessline 4703
* * When paired with [`figma.skipInvisibleInstanceChildren = true`](https://developers.figma.com/docs/plugins/api/properties/figma-skipinvisibleinstancechildren), this method can be hundreds of times faster in large documents with tens o - Network accessline 4704
* When paired with [`figma.skipInvisibleInstanceChildren = true`](https://developers.figma.com/docs/plugins/api/properties/figma-skipinvisibleinstancechildren), this method can be hundreds of times faster in large documents with tens of tho - Network accessline 4708
* Nodes are included in **back-to-front** order, which is the same order as in {@link ChildrenMixin.findAll}. Parents always appear before their children, and children appear in same relative order before their children, and children appear - Network accessline 4709
* * This traversal method is known as ["pre-order traversal"](https://en.wikipedia.org/wiki/Tree_traversal#Pre-order_(NLR)). * - Network accessline 4710
* This traversal method is known as ["pre-order traversal"](https://en.wikipedia.org/wiki/Tree_traversal#Pre-order_(NLR)). - Network accessline 4808
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 4809
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 4810
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 4821
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 4822
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 4823
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 4920
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 4921
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 4922
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 5047
* This function will not cause its children to resize. Use {@link LayoutMixin.resize} if you need to apply constraints. * * Caution: ⚠<U+FE0F> If this node is a text node with a missing font, the text node will be resized but the text will n - Network accessline 5048
* * Caution: ⚠<U+FE0F> If this node is a text node with a missing font, the text node will be resized but the text will not re-layout until the next time the text node is opened on a machine that _has_ the font. This can cause the text node to - Network accessline 5049
* Caution: ⚠<U+FE0F> If this node is a text node with a missing font, the text node will be resized but the text will not re-layout until the next time the text node is opened on a machine that _has_ the font. This can cause the text node to re-la - Network accessline 5064
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 5065
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 5066
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 5079
* const image = await figma.createNodeFromJSXAsync( * <figma.widget.Image * src="https://picsum.photos/200/300" - Network accessline 5080
* <figma.widget.Image * src="https://picsum.photos/200/300" * width={200} - Network accessline 5081
* src="https://picsum.photos/200/300" - Network accessline 5116
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 5117
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 5118
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 5165
maskType: MaskType /** * Array of effects. See {@link Effect} type. For help on how to change this value, see [Editing Properties](https://developers.figma.com/docs/plugins/editing-properties). - Network accessline 5166
/** * Array of effects. See {@link Effect} type. For help on how to change this value, see [Editing Properties](https://developers.figma.com/docs/plugins/editing-properties). */ - Network accessline 5167
* Array of effects. See {@link Effect} type. For help on how to change this value, see [Editing Properties](https://developers.figma.com/docs/plugins/editing-properties). - Network accessline 5180
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 5181
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 5182
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 5200
declare type HandleMirroring = 'NONE' | 'ANGLE' | 'ANGLE_AND_LENGTH' /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 5201
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 5202
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 5330
counterAxisSizingMode: 'FIXED' | 'AUTO' /** * Applicable only on auto-layout frames. Determines whether strokes are included in [layout calculations](https://help.figma.com/hc/en-us/articles/31289464393751-Use-the-horizontal-and-vertic - Network accessline 5331
/** * Applicable only on auto-layout frames. Determines whether strokes are included in [layout calculations](https://help.figma.com/hc/en-us/articles/31289464393751-Use-the-horizontal-and-vertical-flows-in-auto-layout#01JT9NA4HVT02ZPE7B - Network accessline 5332
* Applicable only on auto-layout frames. Determines whether strokes are included in [layout calculations](https://help.figma.com/hc/en-us/articles/31289464393751-Use-the-horizontal-and-vertical-flows-in-auto-layout#01JT9NA4HVT02ZPE7BA86SFCD - Network accessline 5477
* - In horizontal auto-layout frames, `“MIN”` and `“MAX”` correspond to top and bottom respectively. * - In vertical auto-layout frames, `“MIN”` and `“MAX”` correspond to left and right respectively. * - `"BASELINE"` can only be set o - Network accessline 5478
* - In vertical auto-layout frames, `“MIN”` and `“MAX”` correspond to left and right respectively. * - `"BASELINE"` can only be set on horizontal auto-layout frames, and aligns all children along the [text baseline](https://help.figma.co - Network accessline 5479
* - `"BASELINE"` can only be set on horizontal auto-layout frames, and aligns all children along the [text baseline](https://help.figma.com/hc/en-us/articles/360040451373-Explore-auto-layout-properties#Text_baseline_alignment). - Network accessline 5662
counterAxisSpacing: number | null /** * Applicable only on "HORIZONTAL" or "VERTICAL" auto-layout frames. Determines the [canvas stacking order](https://help.figma.com/hc/en-us/articles/360040451373-Explore-auto-layout-properties#Canva - Network accessline 5663
/** * Applicable only on "HORIZONTAL" or "VERTICAL" auto-layout frames. Determines the [canvas stacking order](https://help.figma.com/hc/en-us/articles/360040451373-Explore-auto-layout-properties#Canvas_stacking_order) of layers in this - Network accessline 5664
* Applicable only on "HORIZONTAL" or "VERTICAL" auto-layout frames. Determines the [canvas stacking order](https://help.figma.com/hc/en-us/articles/360040451373-Explore-auto-layout-properties#Canvas_stacking_order) of layers in this frame. - Network accessline 5703
} /** * @see https://developers.figma.com/docs/plugins/api/GridTrackSize - Network accessline 5704
/** * @see https://developers.figma.com/docs/plugins/api/GridTrackSize */ - Network accessline 5705
* @see https://developers.figma.com/docs/plugins/api/GridTrackSize - Network accessline 5707
interface GridTrackSize { /** * Applicable only on FIXED or FLEX grid tracks. In FIXED tracks, the size of the track in pixels. In FLEX tracks, the fractional unit value (equivalent to the [`fr` unit](https://developer.mozilla.org/en-U - Network accessline 5708
/** * Applicable only on FIXED or FLEX grid tracks. In FIXED tracks, the size of the track in pixels. In FLEX tracks, the fractional unit value (equivalent to the [`fr` unit](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layo - Network accessline 5709
* Applicable only on FIXED or FLEX grid tracks. In FIXED tracks, the size of the track in pixels. In FLEX tracks, the fractional unit value (equivalent to the [`fr` unit](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout/Basi - Network accessline 5712
value?: number /** * The type of the grid track. `FLEX` indicates that the track behaves like the CSS grid [`fr` unit](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout/Basic_concepts_of_grid_layout#the_fr_unit). - Network accessline 5713
/** * The type of the grid track. `FLEX` indicates that the track behaves like the CSS grid [`fr` unit](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout/Basic_concepts_of_grid_layout#the_fr_unit). * `FIXED` indicates t - Network accessline 5714
* The type of the grid track. `FLEX` indicates that the track behaves like the CSS grid [`fr` unit](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout/Basic_concepts_of_grid_layout#the_fr_unit). - Network accessline 5721
/** * Options for {@link GridLayoutMixin.reorderRows} and {@link GridLayoutMixin.reorderColumns}. * @see https://developers.figma.com/docs/plugins/api/GridTrackReorderOptions - Network accessline 5722
* Options for {@link GridLayoutMixin.reorderRows} and {@link GridLayoutMixin.reorderColumns}. * @see https://developers.figma.com/docs/plugins/api/GridTrackReorderOptions */ - Network accessline 5723
* @see https://developers.figma.com/docs/plugins/api/GridTrackReorderOptions - Network accessline 5753
* Describes a single row or column (track)'s movement for a call to {@link GridLayoutMixin.reorderRows} * * @see https://developers.figma.com/docs/plugins/api/GridTrackReorderEntry - Network accessline 5754
* * @see https://developers.figma.com/docs/plugins/api/GridTrackReorderEntry */ - Network accessline 5755
* @see https://developers.figma.com/docs/plugins/api/GridTrackReorderEntry - Network accessline 5762
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 5763
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 5764
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 5932
* - `"ROW_AUTO_FLOW"`: children are placed by layer order into the next available cell in * row-major order (left to right, top to bottom), similar to CSS * [`grid-auto-flow: row`](https://developer.mozilla.org/en-US/docs/Web/CSS/ - Network accessline 5933
* row-major order (left to right, top to bottom), similar to CSS * [`grid-auto-flow: row`](https://developer.mozilla.org/en-US/docs/Web/CSS/grid-auto-flow). * Calling {@link GridChildrenMixin.setGridChildPosition} will throw an - Network accessline 5934
* [`grid-auto-flow: row`](https://developer.mozilla.org/en-US/docs/Web/CSS/grid-auto-flow). - Network accessline 6020
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6021
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 6022
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6083
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6084
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 6085
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6188
} /** * @see https://developers.figma.com/docs/plugins/api/InferredAutoLayoutResult - Network accessline 6189
/** * @see https://developers.figma.com/docs/plugins/api/InferredAutoLayoutResult */ - Network accessline 6190
* @see https://developers.figma.com/docs/plugins/api/InferredAutoLayoutResult - Network accessline 6192
interface InferredAutoLayoutResult extends AutoLayoutChildrenMixin, AutoLayoutMixin {} /** * @see https://developers.figma.com/docs/plugins/api/DetachedInfo - Network accessline 6193
/** * @see https://developers.figma.com/docs/plugins/api/DetachedInfo */ - Network accessline 6194
* @see https://developers.figma.com/docs/plugins/api/DetachedInfo - Network accessline 6204
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6205
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 6206
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6208
interface MinimalStrokesMixin { /** * The paints used to fill the area of the shape's strokes. For help on how to change this value, see [Editing Properties](https://developers.figma.com/docs/plugins/editing-properties). - Network accessline 6209
/** * The paints used to fill the area of the shape's strokes. For help on how to change this value, see [Editing Properties](https://developers.figma.com/docs/plugins/editing-properties). * - Network accessline 6210
* The paints used to fill the area of the shape's strokes. For help on how to change this value, see [Editing Properties](https://developers.figma.com/docs/plugins/editing-properties). - Network accessline 6268
readonly strokeGeometry: VectorPaths /** * Sets the strokes of the node asynchronously. This is the only way to set pattern strokes on a node, since we need to ensure that the source node of the pattern is loaded first. See [Adding Pat - Network accessline 6269
/** * Sets the strokes of the node asynchronously. This is the only way to set pattern strokes on a node, since we need to ensure that the source node of the pattern is loaded first. See [Adding Pattern Fills and Strokes](https://develop - Network accessline 6270
* Sets the strokes of the node asynchronously. This is the only way to set pattern strokes on a node, since we need to ensure that the source node of the pattern is loaded first. See [Adding Pattern Fills and Strokes](https://developers.fig - Network accessline 6273
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6274
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 6275
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6286
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6287
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 6288
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6290
interface MinimalFillsMixin { /** * The paints used to fill the area of the shape. For help on how to change this value, see [Editing Properties](https://developers.figma.com/docs/plugins/editing-properties). - Network accessline 6291
/** * The paints used to fill the area of the shape. For help on how to change this value, see [Editing Properties](https://developers.figma.com/docs/plugins/editing-properties). * - Network accessline 6292
* The paints used to fill the area of the shape. For help on how to change this value, see [Editing Properties](https://developers.figma.com/docs/plugins/editing-properties). - Network accessline 6298
* Use {@link UtilAPI.solidPaint} to create solid paint fills with CSS color strings. * * Page nodes have a [`backgrounds`](https://developers.figma.com/docs/plugins/api/PageNode#backgrounds) property instead of a `fills` property. - Network accessline 6299
* * Page nodes have a [`backgrounds`](https://developers.figma.com/docs/plugins/api/PageNode#backgrounds) property instead of a `fills` property. * - Network accessline 6300
* Page nodes have a [`backgrounds`](https://developers.figma.com/docs/plugins/api/PageNode#backgrounds) property instead of a `fills` property. - Network accessline 6318
setFillStyleIdAsync(styleId: string): Promise<void> /** * Sets the fills of the node asynchronously. This is the only way to set pattern fills on a node, since we need to ensure that the source node of the pattern is loaded first. See - Network accessline 6319
/** * Sets the fills of the node asynchronously. This is the only way to set pattern fills on a node, since we need to ensure that the source node of the pattern is loaded first. See [Adding Pattern Fills and Strokes](https://developers. - Network accessline 6320
* Sets the fills of the node asynchronously. This is the only way to set pattern fills on a node, since we need to ensure that the source node of the pattern is loaded first. See [Adding Pattern Fills and Strokes](https://developers.figma.c - Network accessline 6323
} /** * @see https://developers.figma.com/docs/plugins/api/VariableWidthStrokeProperties - Network accessline 6324
/** * @see https://developers.figma.com/docs/plugins/api/VariableWidthStrokeProperties */ - Network accessline 6325
* @see https://developers.figma.com/docs/plugins/api/VariableWidthStrokeProperties - Network accessline 6332
} /** * @see https://developers.figma.com/docs/plugins/api/VariableWidthStrokeProperties - Network accessline 6333
/** * @see https://developers.figma.com/docs/plugins/api/VariableWidthStrokeProperties */ - Network accessline 6334
* @see https://developers.figma.com/docs/plugins/api/VariableWidthStrokeProperties - Network accessline 6339
} /** * @see https://developers.figma.com/docs/plugins/api/VariableWidthStrokeProperties - Network accessline 6340
/** * @see https://developers.figma.com/docs/plugins/api/VariableWidthStrokeProperties */ - Network accessline 6341
* @see https://developers.figma.com/docs/plugins/api/VariableWidthStrokeProperties - Network accessline 6348
} /** * @see https://developers.figma.com/docs/plugins/api/VariableWidthStrokeProperties - Network accessline 6349
/** * @see https://developers.figma.com/docs/plugins/api/VariableWidthStrokeProperties */ - Network accessline 6350
* @see https://developers.figma.com/docs/plugins/api/VariableWidthStrokeProperties - Network accessline 6353
PresetVariableWidthStrokeProperties | CustomVariableWidthStrokeProperties /** * @see https://developers.figma.com/docs/plugins/api/ComplexStrokeProperties - Network accessline 6354
/** * @see https://developers.figma.com/docs/plugins/api/ComplexStrokeProperties */ - Network accessline 6355
* @see https://developers.figma.com/docs/plugins/api/ComplexStrokeProperties - Network accessline 6362
| BrushStrokeProperties /** * @see https://developers.figma.com/docs/plugins/api/ComplexStrokeProperties - Network accessline 6363
/** * @see https://developers.figma.com/docs/plugins/api/ComplexStrokeProperties */ - Network accessline 6364
* @see https://developers.figma.com/docs/plugins/api/ComplexStrokeProperties - Network accessline 6368
brushType: 'SCATTER' /** * Name of the scatter brush. See the [available brushes](https://developers.figma.com/api/complex-stroke-properties.md#available-brushes) for previews of these brushes. - Network accessline 6369
/** * Name of the scatter brush. See the [available brushes](https://developers.figma.com/api/complex-stroke-properties.md#available-brushes) for previews of these brushes. * Nodes using custom brushes will have this set to 'CUSTOM'. - Network accessline 6370
* Name of the scatter brush. See the [available brushes](https://developers.figma.com/api/complex-stroke-properties.md#available-brushes) for previews of these brushes. - Network accessline 6395
} /** * @see https://developers.figma.com/docs/plugins/api/ComplexStrokeProperties - Network accessline 6396
/** * @see https://developers.figma.com/docs/plugins/api/ComplexStrokeProperties */ - Network accessline 6397
* @see https://developers.figma.com/docs/plugins/api/ComplexStrokeProperties - Network accessline 6401
brushType: 'STRETCH' /** * Name of the stretch brush. See the [available brushes](https://developers.figma.com/api/complex-stroke-properties.md#available-brushes) for previews of these brushes. - Network accessline 6402
/** * Name of the stretch brush. See the [available brushes](https://developers.figma.com/api/complex-stroke-properties.md#available-brushes) for previews of these brushes. * Nodes using custom brushes will have this set to 'CUSTOM'. - Network accessline 6403
* Name of the stretch brush. See the [available brushes](https://developers.figma.com/api/complex-stroke-properties.md#available-brushes) for previews of these brushes. - Network accessline 6425
} /** * @see https://developers.figma.com/docs/plugins/api/ComplexStrokeProperties - Network accessline 6426
/** * @see https://developers.figma.com/docs/plugins/api/ComplexStrokeProperties */ - Network accessline 6427
* @see https://developers.figma.com/docs/plugins/api/ComplexStrokeProperties - Network accessline 6429
type BrushStrokeProperties = StretchBrushProperties | ScatterBrushProperties /** * @see https://developers.figma.com/docs/plugins/api/ComplexStrokeProperties - Network accessline 6430
/** * @see https://developers.figma.com/docs/plugins/api/ComplexStrokeProperties */ - Network accessline 6431
* @see https://developers.figma.com/docs/plugins/api/ComplexStrokeProperties - Network accessline 6442
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6443
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 6444
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6456
strokeCap: StrokeCap | PluginAPI['mixed'] /** * The miter limit on the stroke. This is the same as the [SVG miter limit](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-miterlimit). - Network accessline 6457
/** * The miter limit on the stroke. This is the same as the [SVG miter limit](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-miterlimit). */ - Network accessline 6458
* The miter limit on the stroke. This is the same as the [SVG miter limit](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-miterlimit). - Network accessline 6469
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6470
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 6471
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6494
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6495
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 6496
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6512
* @remarks * * A value of 0 is the default and means that the corner is perfectly circular. A value of 0.6 means the corner matches the iOS 7 "squircle" icon shape. Other values produce various other curves. See [this post](https://ww - Network accessline 6513
* * A value of 0 is the default and means that the corner is perfectly circular. A value of 0.6 means the corner matches the iOS 7 "squircle" icon shape. Other values produce various other curves. See [this post](https://www.figma.com/bl - Network accessline 6514
* A value of 0 is the default and means that the corner is perfectly circular. A value of 0.6 means the corner matches the iOS 7 "squircle" icon shape. Other values produce various other curves. See [this post](https://www.figma.com/blog/de - Network accessline 6517
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6518
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 6519
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6538
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6539
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 6540
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6542
interface ExportMixin { /** * List of export settings stored on the node. For help on how to change this value, see [Editing Properties](https://developers.figma.com/docs/plugins/editing-properties). - Network accessline 6543
/** * List of export settings stored on the node. For help on how to change this value, see [Editing Properties](https://developers.figma.com/docs/plugins/editing-properties). */ - Network accessline 6544
* List of export settings stored on the node. For help on how to change this value, see [Editing Properties](https://developers.figma.com/docs/plugins/editing-properties). - Network accessline 6634
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6635
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 6636
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6687
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6688
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 6689
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6691
interface ReactionMixin { /** * List of [Reactions](https://developers.figma.com/docs/plugins/api/Reaction) on this node, which includes both the method of interaction with this node in a prototype, and the behavior of that interaction - Network accessline 6692
/** * List of [Reactions](https://developers.figma.com/docs/plugins/api/Reaction) on this node, which includes both the method of interaction with this node in a prototype, and the behavior of that interaction. For help on how to change - Network accessline 6693
* List of [Reactions](https://developers.figma.com/docs/plugins/api/Reaction) on this node, which includes both the method of interaction with this node in a prototype, and the behavior of that interaction. For help on how to change this va - Network accessline 6697
* @remarks * * [Prototyping](https://help.figma.com/hc/en-us/articles/360040314193-Guide-to-prototyping-in-Figma) in Figma lets users create connections between nodes that consist of a trigger (click, hover, etc...) and a correspondin - Network accessline 6698
* * [Prototyping](https://help.figma.com/hc/en-us/articles/360040314193-Guide-to-prototyping-in-Figma) in Figma lets users create connections between nodes that consist of a trigger (click, hover, etc...) and a corresponding list of acti - Network accessline 6699
* [Prototyping](https://help.figma.com/hc/en-us/articles/360040314193-Guide-to-prototyping-in-Figma) in Figma lets users create connections between nodes that consist of a trigger (click, hover, etc...) and a corresponding list of actions, - Network accessline 6741
* ``` * * It is also possible to add Advanced Prototyping action types through the Plugin API: [Set Variable](https://help.figma.com/hc/en-us/articles/14506587589399-Use-variables-in-prototypes) and [Conditional](https://help.figma.co - Network accessline 6742
* * It is also possible to add Advanced Prototyping action types through the Plugin API: [Set Variable](https://help.figma.com/hc/en-us/articles/14506587589399-Use-variables-in-prototypes) and [Conditional](https://help.figma.com/hc/en-u - Network accessline 6743
* It is also possible to add Advanced Prototyping action types through the Plugin API: [Set Variable](https://help.figma.com/hc/en-us/articles/14506587589399-Use-variables-in-prototypes) and [Conditional](https://help.figma.com/hc/en-us/art - Network accessline 6852
} /** * @see https://developers.figma.com/docs/plugins/api/DocumentationLink - Network accessline 6853
/** * @see https://developers.figma.com/docs/plugins/api/DocumentationLink */ - Network accessline 6854
* @see https://developers.figma.com/docs/plugins/api/DocumentationLink - Network accessline 6858
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6859
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 6860
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6890
* * ```ts * node.documentationLinks = [{uri: "https://www.figma.com"}] - Network accessline 6891
* ```ts * node.documentationLinks = [{uri: "https://www.figma.com"}] * - Network accessline 6892
* node.documentationLinks = [{uri: "https://www.figma.com"}] - Network accessline 6912
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6913
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 6914
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6924
ExportMixin {} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6925
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 6926
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6950
readonly detachedInfo: DetachedInfo | null /** * Array of {@link LayoutGrid} objects used as layout grids on this node. For help on how to change this value, see [Editing Properties](https://developers.figma.com/docs/plugins/editing-pr - Network accessline 6951
/** * Array of {@link LayoutGrid} objects used as layout grids on this node. For help on how to change this value, see [Editing Properties](https://developers.figma.com/docs/plugins/editing-properties). */ - Network accessline 6952
* Array of {@link LayoutGrid} objects used as layout grids on this node. For help on how to change this value, see [Editing Properties](https://developers.figma.com/docs/plugins/editing-properties). - Network accessline 6968
clipsContent: boolean /** * Array of {@link Guide} used inside the frame. Note that each frame has its own guides, separate from the canvas-wide guides. For help on how to change this value, see [Editing Properties](https://developers. - Network accessline 6969
/** * Array of {@link Guide} used inside the frame. Note that each frame has its own guides, separate from the canvas-wide guides. For help on how to change this value, see [Editing Properties](https://developers.figma.com/docs/plugins/e - Network accessline 6970
* Array of {@link Guide} used inside the frame. Note that each frame has its own guides, separate from the canvas-wide guides. For help on how to change this value, see [Editing Properties](https://developers.figma.com/docs/plugins/editing- - Network accessline 6974
* Returns inferred auto layout properties of a {@link FrameNode} if applicable. Otherwise, returns `null`. * * This is what Figma uses to power Dev Mode’s [code snippets](https://help.figma.com/hc/en-us/articles/15023124644247#Build_f - Network accessline 6975
* * This is what Figma uses to power Dev Mode’s [code snippets](https://help.figma.com/hc/en-us/articles/15023124644247#Build_faster_with_customizable_code_snippets) feature, as it makes sure the generated code is more useful. * - Network accessline 6976
* This is what Figma uses to power Dev Mode’s [code snippets](https://help.figma.com/hc/en-us/articles/15023124644247#Build_faster_with_customizable_code_snippets) feature, as it makes sure the generated code is more useful. - Network accessline 6981
} /** * @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 6982
/** * @see https://developers.figma.com/docs/plugins/api/node-properties */ - Network accessline 6983
* @see https://developers.figma.com/docs/plugins/api/node-properties - Network accessline 7045
* Annotations on the node. * * Learn more about annotations in the [Help Center](https://help.figma.com/hc/en-us/articles/20774752502935) or see the [Annotation type](https://developers.figma.com/docs/plugins/api/Annotation) for usage - Network accessline 7046
* * Learn more about annotations in the [Help Center](https://help.figma.com/hc/en-us/articles/20774752502935) or see the [Annotation type](https://developers.figma.com/docs/plugins/api/Annotation) for usage examples. */ - Network accessline 7047
* Learn more about annotations in the [Help Center](https://help.figma.com/hc/en-us/articles/20774752502935) or see the [Annotation type](https://developers.figma.com/docs/plugins/api/Annotation) for usage examples. - Network accessline 7050
} /** * @see https://developers.figma.com/docs/plugins/api/Measurement - Network accessline 7051
/** * @see https://developers.figma.com/docs/plugins/api/Measurement */ - Network accessline 7052
* @see https://developers.figma.com/docs/plugins/api/Measurement - Network accessline 7066
} /** * @see https://developers.figma.com/docs/plugins/api/MeasurementSide - Network accessline 7067
/** * @see https://developers.figma.com/docs/plugins/api/MeasurementSide */ - Network accessline 7068
* @see https://developers.figma.com/docs/plugins/api/MeasurementSide - Network accessline 7070
type MeasurementSide = 'TOP' | 'RIGHT' | 'BOTTOM' | 'LEFT' /** * @see https://developers.figma.com/docs/plugins/api/MeasurementOffset - Network accessline 7071
/** * @see https://developers.figma.com/docs/plugins/api/MeasurementOffset */ - Network accessline 7072
* @see https://developers.figma.com/docs/plugins/api/MeasurementOffset - Network accessline 7085
* Get all measurements in the current page. * * Learn more about measurements in the [Help Center](https://help.figma.com/hc/en-us/articles/20774752502935). - Network accessline 7086
* * Learn more about measurements in the [Help Center](https://help.figma.com/hc/en-us/articles/20774752502935). */ - Network accessline 7087
* Learn more about measurements in the [Help Center](https://help.figma.com/hc/en-us/articles/20774752502935). - Network accessline 7099
* Measurements can only go on the same axis, i.e. from side `"LEFT"` -> `"LEFT"`, `"LEFT"` -> `"RIGHT"`, `"TOP"` -> `"BOTTOM"` etc. But not `"LEFT"` -> `"TOP"`. * * See the [Measurement type](https://developers.figma.com/docs/plugins/ - Network accessline 7100
* * See the [Measurement type](https://developers.figma.com/docs/plugins/api/Measurement) for usage examples. * - Network accessline 7101
* See the [Measurement type](https://developers.figma.com/docs/plugins/api/Measurement) for usage examples. - Network accessline 7129
* Edit a measurement’s offset. * * See the [Measurement type](https://developers.figma.com/docs/plugins/api/Measurement) for usage examples. - Network accessline 7130
* * See the [Measurement type](https://developers.figma.com/docs/plugins/api/Measurement) for usage examples. * - Network accessline 7131
* See the [Measurement type](https://developers.figma.com/docs/plugins/api/Measurement) for usage examples. - Network accessline 7149
* Delete a measurement. * * See the [Measurement type](https://developers.figma.com/docs/plugins/api/Measurement) for usage examples. - Network accessline 7150
* * See the [Measurement type](https://developers.figma.com/docs/plugins/api/Measurement) for usage examples. * - Network accessline 7151
* See the [Measurement type](https://developers.figma.com/docs/plugins/api/Measurement) for usage examples. - Network accessline 7167
* @remarks * * [Component properties-related properties](https://help.figma.com/hc/en-us/articles/5579474826519-Create-and-use-component-properties) define parts of the component people can change by tying them to specific design prop - Network accessline 7168
* * [Component properties-related properties](https://help.figma.com/hc/en-us/articles/5579474826519-Create-and-use-component-properties) define parts of the component people can change by tying them to specific design properties. You ca - Network accessline 7169
* [Component properties-related properties](https://help.figma.com/hc/en-us/articles/5579474826519-Create-and-use-component-properties) define parts of the component people can change by tying them to specific design properties. You can cre - Network accessline 7353
} /** * @see https://developers.figma.com/docs/plugins/api/TextNode - Network accessline 7354
/** * @see https://developers.figma.com/docs/plugins/api/TextNode */ - Network accessline 7355
* @see https://developers.figma.com/docs/plugins/api/TextNode - Network accessline 7365
fontSize: number | PluginAPI['mixed'] /** * The font family (e.g. `"Inter"`), font style (e.g. `"Regular"`). For [variable fonts](https://developers.figma.com/docs/plugins/api/FontName), also {@link FontName.variationSettings}. Setting - Network accessline 7366
/** * The font family (e.g. `"Inter"`), font style (e.g. `"Regular"`). For [variable fonts](https://developers.figma.com/docs/plugins/api/FontName), also {@link FontName.variationSettings}. Setting this property to a different value requ - Network accessline 7367
* The font family (e.g. `"Inter"`), font style (e.g. `"Regular"`). For [variable fonts](https://developers.figma.com/docs/plugins/api/FontName), also {@link FontName.variationSettings}. Setting this property to a different value requires th - Network accessline 7396
textCase: TextCase | PluginAPI['mixed'] /** * [OpenType features](https://help.figma.com/hc/en-us/articles/4913951097367) that have been explicitly enabled or disabled. - Network accessline 7397
/** * [OpenType features](https://help.figma.com/hc/en-us/articles/4913951097367) that have been explicitly enabled or disabled. * - Network accessline 7398
* [OpenType features](https://help.figma.com/hc/en-us/articles/4913951097367) that have been explicitly enabled or disabled. - Network accessline 7400
* @remarks * * The **Details** tab in the [Type settings panel](https://help.figma.com/hc/en-us/articles/360039956634-Explore-text-properties#type-settings) shows all the OpenType features that are available for the current font. - Network accessline 7401
* * The **Details** tab in the [Type settings panel](https://help.figma.com/hc/en-us/articles/360039956634-Explore-text-properties#type-settings) shows all the OpenType features that are available for the current font. * - Network accessline 7402
* The **Details** tab in the [Type settings panel](https://help.figma.com/hc/en-us/articles/360039956634-Explore-text-properties#type-settings) shows all the OpenType features that are available for the current font. - Network accessline 7408
* Here are some useful resources for learning about OpenType features: * * - [An ode to OpenType [Figma blog]](https://www.figma.com/blog/opentype-font-features/) - Network accessline 7409
* * - [An ode to OpenType [Figma blog]](https://www.figma.com/blog/opentype-font-features/) * - [OpenType feature tags [Microsoft]](https://learn.microsoft.com/en-us/typography/opentype/spec/featuretags) - Network accessline 7410
* - [An ode to OpenType [Figma blog]](https://www.figma.com/blog/opentype-font-features/) - Network accessline 7411
* - [OpenType feature tags [Microsoft]](https://learn.microsoft.com/en-us/typography/opentype/spec/featuretags) - Network accessline 7412
* - [OpenType font features guide [MDN]](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/OpenType_fonts_guide) - Network accessline 7413
* - [OpenType Features in CSS [Sparanoid]](https://sparanoid.com/lab/opentype-features/) - Network accessline 7474
setRangeFontSize(start: number, end: number, value: number): void /** * Get the `fontName` from characters in range `start` (inclusive) to `end` (exclusive). For [variable fonts](https://developers.figma.com/docs/plugins/api/FontName), - Network accessline 7475
/** * Get the `fontName` from characters in range `start` (inclusive) to `end` (exclusive). For [variable fonts](https://developers.figma.com/docs/plugins/api/FontName), the returned {@link FontName} includes {@link FontName.variationSet - Network accessline 7476
* Get the `fontName` from characters in range `start` (inclusive) to `end` (exclusive). For [variable fonts](https://developers.figma.com/docs/plugins/api/FontName), the returned {@link FontName} includes {@link FontName.variationSettings}. - Network accessline 7482
* @remarks * * Accepts a {@link FontNameInput}. Pass `variationSettings` to override specific axes of a [variable font](https://developers.figma.com/docs/plugins/api/FontName). Omit `style` to let Figma pick the named instance closest - Network accessline 7483
* * Accepts a {@link FontNameInput}. Pass `variationSettings` to override specific axes of a [variable font](https://developers.figma.com/docs/plugins/api/FontName). Omit `style` to let Figma pick the named instance closest to `variation - Network accessline 7484
* Accepts a {@link FontNameInput}. Pass `variationSettings` to override specific axes of a [variable font](https://developers.figma.com/docs/plugins/api/FontName). Omit `style` to let Figma pick the named instance closest to `variationSetti - Network accessline 7503
getRangeFontWeight(start: number, end: number): number | PluginAPI['mixed'] /** * Get the `fontName`s from characters in range `start` (inclusive) to `end` (exclusive). For [variable fonts](https://developers.figma.com/docs/plugins/api - Network accessline 7504
/** * Get the `fontName`s from characters in range `start` (inclusive) to `end` (exclusive). For [variable fonts](https://developers.figma.com/docs/plugins/api/FontName), each entry includes {@link FontName.variationSettings}. */ - Network accessline 7505
* Get the `fontName`s from characters in range `start` (inclusive) to `end` (exclusive). For [variable fonts](https://developers.figma.com/docs/plugins/api/FontName), each entry includes {@link FontName.variationSettings}. - Network accessline 7619
* @remarks * * This function provides an easy and performant way to get multiple text properties which may have [mixed values](https://developers.figma.com/docs/plugins/working-with-text#mixed-styles), along with which characters thes - Network accessline 7620
* * This function provides an easy and performant way to get multiple text properties which may have [mixed values](https://developers.figma.com/docs/plugins/working-with-text#mixed-styles), along with which characters these values apply - Network accessline 7621
* This function provides an easy and performant way to get multiple text properties which may have [mixed values](https://developers.figma.com/docs/plugins/working-with-text#mixed-styles), along with which characters these values apply to. - Network accessline 7748
} /** * @see https://developers.figma.com/docs/plugins/api/TextNode - Network accessline 7749
/** * @see https://developers.figma.com/docs/plugins/api/TextNode */ - Network accessline 7750
* @see https://developers.figma.com/docs/plugins/api/TextNode - Network accessline 8031
} /** * @see https://developers.figma.com/docs/plugins/api/TextPathNode - Network accessline 8032
/** * @see https://developers.figma.com/docs/plugins/api/TextPathNode */ - Network accessline 8033
* @see https://developers.figma.com/docs/plugins/api/TextPathNode - Network accessline 8035
interface NonResizableTextPathMixin extends BaseNonResizableTextMixin {} /** * @see https://developers.figma.com/docs/plugins/api/TextNode - Network accessline 8036
/** * @see https://developers.figma.com/docs/plugins/api/TextNode */ - Network accessline 8037
* @see https://developers.figma.com/docs/plugins/api/TextNode - Network accessline 8098
* Nodes are included in **back-to-front** order. Parents always appear before their children, and children appear in same relative order before their children, and children appear in same relative order as in the {@link ChildrenMixin.childr - Network accessline 8099
* * This traversal method is known as ["pre-order traversal"](https://en.wikipedia.org/wiki/Tree_traversal#Pre-order_(NLR)). * - Network accessline 8100
* This traversal method is known as ["pre-order traversal"](https://en.wikipedia.org/wiki/Tree_traversal#Pre-order_(NLR)). - Network accessline 8109
* * Caution: ⚠ Large documents in Figma can have tens of thousands of nodes. Be careful using this function as it could be very slow. * Please refer to our [recommendations](https://developers.figma.com/docs/plugins/accessing-document - Network accessline 8110
* Caution: ⚠ Large documents in Figma can have tens of thousands of nodes. Be careful using this function as it could be very slow. * Please refer to our [recommendations](https://developers.figma.com/docs/plugins/accessing-document#full - Network accessline 8111
* Please refer to our [recommendations](https://developers.figma.com/docs/plugins/accessing-document#full-document-traversal) for how to optimize document traversals. - Network accessline 8132
* * Caution: ⚠ Large documents in Figma can have tens of thousands of nodes. Be careful using this function as it could be very slow. * Please refer to our [recommendations](https://developers.figma.com/docs/plugins/accessing-document - Network accessline 8133
* Caution: ⚠ Large documents in Figma can have tens of thousands of nodes. Be careful using this function as it could be very slow. * Please refer to our [recommendations](https://developers.figma.com/docs/plugins/accessing-document#full - Network accessline 8134
* Please refer to our [recommendations](https://developers.figma.com/docs/plugins/accessing-document#full-document-traversal) for how to optimize document traversals. - Network accessline 8166
* The explicitly set modes for this node. * For `SceneNodes`, represents a subset of {@link SceneNodeMixin.resolvedVariableModes }. * Note that this does not include [workspace and team-default modes](https://help.figma.com/hc/en-us/a - Network accessline 8167
* For `SceneNodes`, represents a subset of {@link SceneNodeMixin.resolvedVariableModes }. * Note that this does not include [workspace and team-default modes](https://help.figma.com/hc/en-us/articles/12611253730071). */ - Network accessline 8168
* Note that this does not include [workspace and team-default modes](https://help.figma.com/hc/en-us/articles/12611253730071). - Network accessline 8350
} /** * @see https://developers.figma.com/docs/plugins/api/TransformGroupNode - Network accessline 8351
/** * @see https://developers.figma.com/docs/plugins/api/TransformGroupNode */ - Network accessline 8352
* @see https://developers.figma.com/docs/plugins/api/TransformGroupNode - Network accessline 8573
} /** * @see https://developers.figma.com/docs/plugins/api/TextPathNode - Network accessline 8574
/** * @see https://developers.figma.com/docs/plugins/api/TextPathNode */ - Network accessline 8575
* @see https://developers.figma.com/docs/plugins/api/TextPathNode - Network accessline 8635
} /** * @see https://developers.figma.com/docs/plugins/api/ComponentPropertyType - Network accessline 8636
/** * @see https://developers.figma.com/docs/plugins/api/ComponentPropertyType */ - Network accessline 8637
* @see https://developers.figma.com/docs/plugins/api/ComponentPropertyType - Network accessline 8639
type ComponentPropertyType = 'BOOLEAN' | 'TEXT' | 'INSTANCE_SWAP' | 'VARIANT' | 'SLOT' /** * @see https://developers.figma.com/docs/plugins/api/InstanceSwapPreferredValue - Network accessline 8640
/** * @see https://developers.figma.com/docs/plugins/api/InstanceSwapPreferredValue */ - Network accessline 8641
* @see https://developers.figma.com/docs/plugins/api/InstanceSwapPreferredValue - Network accessline 8653
} /** * @see https://developers.figma.com/docs/plugins/api/ComponentPropertyOptions - Network accessline 8654
/** * @see https://developers.figma.com/docs/plugins/api/ComponentPropertyOptions */ - Network accessline 8655
* @see https://developers.figma.com/docs/plugins/api/ComponentPropertyOptions - Network accessline 8661
} /** * @see https://developers.figma.com/docs/plugins/api/ComponentPropertyDefinitions - Network accessline 8662
/** * @see https://developers.figma.com/docs/plugins/api/ComponentPropertyDefinitions */ - Network accessline 8663
* @see https://developers.figma.com/docs/plugins/api/ComponentPropertyDefinitions - Network accessline 8691
} /** * @see https://developers.figma.com/docs/plugins/api/ComponentNode - Network accessline 8692
/** * @see https://developers.figma.com/docs/plugins/api/ComponentNode */ - Network accessline 8693
* @see https://developers.figma.com/docs/plugins/api/ComponentNode - Network accessline 8716
} /** * @see https://developers.figma.com/docs/plugins/api/ComponentProperties - Network accessline 8717
/** * @see https://developers.figma.com/docs/plugins/api/ComponentProperties */ - Network accessline 8718
* @see https://developers.figma.com/docs/plugins/api/ComponentProperties - Network accessline 8752
* @remarks * * Learn more about instance swap and override preservation in our <a href="https://help.figma.com/hc/en-us/articles/360039150413-Swap-between-component-instances-in-a-file">help center</a>. If you do not want to preserve - Network accessline 8753
* * Learn more about instance swap and override preservation in our <a href="https://help.figma.com/hc/en-us/articles/360039150413-Swap-between-component-instances-in-a-file">help center</a>. If you do not want to preserve overrides when - Network accessline 8754
* Learn more about instance swap and override preservation in our <a href="https://help.figma.com/hc/en-us/articles/360039150413-Swap-between-component-instances-in-a-file">help center</a>. If you do not want to preserve overrides when swap - Network accessline 8860
authorName: string /** * Indicates whether the sticky note has a [wide rectangular shape](https://help.figma.com/hc/en-us/articles/1500004414322-Sticky-notes-in-FigJam#Size), as opposed to a square shape. - Network accessline 8861
/** * Indicates whether the sticky note has a [wide rectangular shape](https://help.figma.com/hc/en-us/articles/1500004414322-Sticky-notes-in-FigJam#Size), as opposed to a square shape. */ - Network accessline 8862
* Indicates whether the sticky note has a [wide rectangular shape](https://help.figma.com/hc/en-us/articles/1500004414322-Sticky-notes-in-FigJam#Size), as opposed to a square shape. - Network accessline 8880
} /** * @see https://developers.figma.com/docs/plugins/api/TableNode - Network accessline 8881
/** * @see https://developers.figma.com/docs/plugins/api/TableNode */ - Network accessline 8882
* @see https://developers.figma.com/docs/plugins/api/TableNode - Network accessline 8969
} /** * @see https://developers.figma.com/docs/plugins/api/TableCellNode - Network accessline 8970
/** * @see https://developers.figma.com/docs/plugins/api/TableCellNode */ - Network accessline 8971
* @see https://developers.figma.com/docs/plugins/api/TableCellNode - Network accessline 9100
} /** * @see https://developers.figma.com/docs/plugins/api/CodeBlockNode - Network accessline 9101
/** * @see https://developers.figma.com/docs/plugins/api/CodeBlockNode */ - Network accessline 9102
* @see https://developers.figma.com/docs/plugins/api/CodeBlockNode - Network accessline 9138
} /** * @see https://developers.figma.com/docs/plugins/api/LabelSublayer - Network accessline 9139
/** * @see https://developers.figma.com/docs/plugins/api/LabelSublayer */ - Network accessline 9140
* @see https://developers.figma.com/docs/plugins/api/LabelSublayer - Network accessline 9223
| 'PARAGRAPH_INDENT' /** * @see https://developers.figma.com/docs/plugins/api/VariableCodeSyntaxPlatform - Network accessline 9224
/** * @see https://developers.figma.com/docs/plugins/api/VariableCodeSyntaxPlatform */ - Network accessline 9225
* @see https://developers.figma.com/docs/plugins/api/VariableCodeSyntaxPlatform - Network accessline 9265
* The value that a variable resolves to depends on the following: * * - The node consuming the variable and which of the collection's modes is [currently selected in the node](https://help.figma.com/hc/en-us/articles/15343816063383) - Network accessline 9266
* * - The node consuming the variable and which of the collection's modes is [currently selected in the node](https://help.figma.com/hc/en-us/articles/15343816063383) * - The variable's value for the selected mode - Network accessline 9267
* - The node consuming the variable and which of the collection's modes is [currently selected in the node](https://help.figma.com/hc/en-us/articles/15343816063383) - Network accessline 9487
* `in extend: Cannot create extended collections outside of enterprise plan.` * * See [Figma plans and features](https://help.figma.com/hc/en-us/articles/360040328273) for more information. - Network accessline 9488
* * See [Figma plans and features](https://help.figma.com/hc/en-us/articles/360040328273) for more information. * - Network accessline 9489
* See [Figma plans and features](https://help.figma.com/hc/en-us/articles/360040328273) for more information. - Network accessline 9502
* `in addMode: Limited to N modes only`, where N is the mode limit. * * See [Figma plans and features](https://help.figma.com/hc/en-us/articles/360040328273) for more information. - Network accessline 9503
* * See [Figma plans and features](https://help.figma.com/hc/en-us/articles/360040328273) for more information. * - Network accessline 9504
* See [Figma plans and features](https://help.figma.com/hc/en-us/articles/360040328273) for more information. - Network accessline 9586
* Returns the synced state stored on the widget. This is only readable by widgets created by the same `manifest.id`. * * For more information, check out [this page in our widget documentation](https://figma.com/widget-docs/managing-m - Network accessline 9587
* * For more information, check out [this page in our widget documentation](https://figma.com/widget-docs/managing-multiple-widgets#widgetnodewidgetsyncedstate). */ - Network accessline 9588
* For more information, check out [this page in our widget documentation](https://figma.com/widget-docs/managing-multiple-widgets#widgetnodewidgetsyncedstate). - Network accessline 9600
* The srcUrl of an embed is the URL that will be loaded in an iFrame when the embed is activated * * @example https://www.example.com/embed/items/abcdefg - Network accessline 9601
* * @example https://www.example.com/embed/items/abcdefg */ - Network accessline 9602
* @example https://www.example.com/embed/items/abcdefg - Network accessline 9606
* The canonicalUrl of an embed is the URL that will be navigated to when the embed is opened in an external tab * * @example https://www.example.com/items/abcdefg - Network accessline 9607
* * @example https://www.example.com/items/abcdefg */ - Network accessline 9608
* @example https://www.example.com/items/abcdefg - Network accessline 9642
* The URL of the link being unfurled * * Example: https://mynewssite.com/stories/abcdefg - Network accessline 9643
* * Example: https://mynewssite.com/stories/abcdefg */ - Network accessline 9644
* Example: https://mynewssite.com/stories/abcdefg - Network accessline 9715
} /** * @see https://developers.figma.com/docs/plugins/api/SectionNode - Network accessline 9716
/** * @see https://developers.figma.com/docs/plugins/api/SectionNode */ - Network accessline 9717
* @see https://developers.figma.com/docs/plugins/api/SectionNode - Network accessline 9731
readonly type: 'SECTION' /** * Whether the section node contents are [marked as hidden](https://help.figma.com/hc/en-us/articles/4939765379351-Organize-your-FigJam-board-with-sections#Hide_section). - Network accessline 9732
/** * Whether the section node contents are [marked as hidden](https://help.figma.com/hc/en-us/articles/4939765379351-Organize-your-FigJam-board-with-sections#Hide_section). */ - Network accessline 9733
* Whether the section node contents are [marked as hidden](https://help.figma.com/hc/en-us/articles/4939765379351-Organize-your-FigJam-board-with-sections#Hide_section). - Network accessline 9758
} /** * @see https://developers.figma.com/docs/plugins/api/SlideNode - Network accessline 9759
/** * @see https://developers.figma.com/docs/plugins/api/SlideNode */ - Network accessline 9760
* @see https://developers.figma.com/docs/plugins/api/SlideNode - Network accessline 9788
} /** * @see https://developers.figma.com/docs/plugins/api/SlideRowNode - Network accessline 9789
/** * @see https://developers.figma.com/docs/plugins/api/SlideRowNode */ - Network accessline 9790
* @see https://developers.figma.com/docs/plugins/api/SlideRowNode - Network accessline 9801
} /** * @see https://developers.figma.com/docs/plugins/api/SlideGridNode - Network accessline 9802
/** * @see https://developers.figma.com/docs/plugins/api/SlideGridNode */ - Network accessline 9803
* @see https://developers.figma.com/docs/plugins/api/SlideGridNode - Network accessline 9814
} /** * @see https://developers.figma.com/docs/plugins/api/InteractiveSlideElementNode - Network accessline 9815
/** * @see https://developers.figma.com/docs/plugins/api/InteractiveSlideElementNode */ - Network accessline 9816
* @see https://developers.figma.com/docs/plugins/api/InteractiveSlideElementNode - Network accessline 9831
} /** * @see https://developers.figma.com/docs/plugins/api/SlideTransition - Network accessline 9832
/** * @see https://developers.figma.com/docs/plugins/api/SlideTransition */ - Network accessline 9833
* @see https://developers.figma.com/docs/plugins/api/SlideTransition - Network accessline 9885
} /** * @see https://developers.figma.com/docs/plugins/api/node-types - Network accessline 9886
/** * @see https://developers.figma.com/docs/plugins/api/node-types */ - Network accessline 9887
* @see https://developers.figma.com/docs/plugins/api/node-types - Network accessline 9889
type BaseNode = DocumentNode | PageNode | SceneNode /** * @see https://developers.figma.com/docs/plugins/api/node-types - Network accessline 9890
/** * @see https://developers.figma.com/docs/plugins/api/node-types */ - Network accessline 9891
* @see https://developers.figma.com/docs/plugins/api/node-types - Network accessline 9927
| InteractiveSlideElementNode /** * @see https://developers.figma.com/docs/plugins/api/node-types - Network accessline 9928
/** * @see https://developers.figma.com/docs/plugins/api/node-types */ - Network accessline 9929
* @see https://developers.figma.com/docs/plugins/api/node-types - Network accessline 9932
type StyleType = 'PAINT' | 'TEXT' | 'EFFECT' | 'GRID' | 'CUSTOM_ANIMATION' /** * @see https://developers.figma.com/docs/plugins/api/InheritedStyleField - Network accessline 9933
/** * @see https://developers.figma.com/docs/plugins/api/InheritedStyleField */ - Network accessline 9934
* @see https://developers.figma.com/docs/plugins/api/InheritedStyleField - Network accessline 9943
| 'strokeStyleId' /** * @see https://developers.figma.com/docs/plugins/api/StyleConsumers - Network accessline 9944
/** * @see https://developers.figma.com/docs/plugins/api/StyleConsumers */ - Network accessline 9945
* @see https://developers.figma.com/docs/plugins/api/StyleConsumers - Network accessline 10002
textDecoration: TextDecoration /** * Value to replace the text {@link BaseNonResizableTextMixin.fontName} with. For [variable fonts](https://developers.figma.com/docs/plugins/api/FontName), this includes {@link FontName.variationSettin - Network accessline 10003
/** * Value to replace the text {@link BaseNonResizableTextMixin.fontName} with. For [variable fonts](https://developers.figma.com/docs/plugins/api/FontName), this includes {@link FontName.variationSettings}. */ - Network accessline 10004
* Value to replace the text {@link BaseNonResizableTextMixin.fontName} with. For [variable fonts](https://developers.figma.com/docs/plugins/api/FontName), this includes {@link FontName.variationSettings}. - Network accessline 10052
} /** * Binds the provided `field` on this node to the given variable. Please see the [Working with Variables](https://developers.figma.com/docs/plugins/working-with-variables) guide for how to get and set variable bindings. - Network accessline 10053
/** * Binds the provided `field` on this node to the given variable. Please see the [Working with Variables](https://developers.figma.com/docs/plugins/working-with-variables) guide for how to get and set variable bindings. * - Network accessline 10054
* Binds the provided `field` on this node to the given variable. Please see the [Working with Variables](https://developers.figma.com/docs/plugins/working-with-variables) guide for how to get and set variable bindings.
workflow-skills/generate-project-plan/references/blocks/table.md
- Network accessline 40
const rows = [ ['Type', 'Link', 'Description'], ['PRD', 'https://…', 'Markdown → FigJam sync'], - Network accessline 41
['Type', 'Link', 'Description'], ['PRD', 'https://…', 'Markdown → FigJam sync'], ['Design doc', 'https://…', 'Architecture proposal'], - Network accessline 42
['PRD', 'https://…', 'Markdown → FigJam sync'], - Network accessline 43
['Design doc', 'https://…', 'Architecture proposal'],
workflow-skills/video-interaction-mapper/scripts/extract_key_frames.py
- Executable scriptline 1
#!/usr/bin/env python3
workflow-skills/video-interaction-mapper/scripts/generate_figma_calls.py
- Executable scriptline 1
#!/usr/bin/env python3
workflow-skills/video-interaction-mapper/scripts/prepare_upload_frames.py
- Executable scriptline 1
#!/usr/bin/env python3
workflow-skills/video-interaction-mapper/scripts/resolve_moment_frames.py
- Executable scriptline 1
#!/usr/bin/env python3
workflow-skills/video-interaction-mapper/scripts/update_run_manifest.py
- Executable scriptline 1
#!/usr/bin/env python3
How the signals fit together
Facts from a static read of the files at the pinned commit. They describe what the code does, not why.
Some files could not be read; the facts below still hold.
Signal confidence: 500 facts
- Network access in prose of the SKILL.mdfigma-code-connect/SKILL.md:44Low confidence
- Network access in prose of the SKILL.mdskills-figquery/figma-code-connect/SKILL.md:44Low confidence
- Network access in code of the SKILL.mdfigma-code-connect/SKILL.md:109High confidence
- Network access in code of the SKILL.mdskills-figquery/figma-code-connect/SKILL.md:109High confidence
- Network access in prose of the SKILL.mdfigma-code-connect/SKILL.md:456Low confidence
- Network access in prose of the SKILL.mdskills-figquery/figma-code-connect/SKILL.md:456Low confidence
- Network access in code of the SKILL.mdfigma-code-connect/SKILL.md:480High confidence
- Network access in code of the SKILL.mdskills-figquery/figma-code-connect/SKILL.md:480High confidence
- Network access in code of documentationfigma-code-connect/references/advanced-patterns.md:207Low confidence
- Network access in code of documentationfigma-code-connect/references/advanced-patterns.md:232Low confidence
- Network access in code of documentationfigma-code-connect/references/advanced-patterns.md:258Low confidence
- Network access in code of documentationfigma-code-connect/references/api.md:12Low confidence
- Network access in code of documentationfigma-code-connect/references/api.md:75Low confidence
- Network access in code of documentationfigma-code-connect/references/api.md:76Low confidence
- Network access in code of documentationfigma-code-connect/references/api.md:77Low confidence
- Network access in code of documentationfigma-code-connect/references/api.md:78Low confidence
- Network access in code of documentationfigma-code-connect/references/api.md:107Low confidence
- Network access in code of documentationfigma-code-connect/references/api.md:131Low confidence
- Access to secrets in code of documentationfigma-code-connect/references/api.md:551Low confidence
- Access to secrets in code of documentationfigma-code-connect/references/api.md:556Low confidence
- Network access in code of documentationfigma-code-connect/references/api.md:574Low confidence
- Network access in code of documentationfigma-code-connect/references/api.md:725Low confidence
- Network access in code of documentationfigma-code-connect/references/api.md:769Low confidence
- Network access in code of documentationfigma-code-connect/references/api.md:810Low confidence
- Network access in code of documentationfigma-code-connect/references/api.md:846Low confidence
- Network access in prose of the SKILL.mdfigma-generate-design/SKILL.md:94Low confidence
- Network access in prose of the SKILL.mdskills-figquery/figma-generate-design/SKILL.md:94Low confidence
- Network access in prose of the SKILL.mdskills-figquery/figma-generate-design/SKILL.md:94Low confidence
- Network access in code of the SKILL.mdfigma-generate-design/SKILL.md:429High confidence
- Network access in code of the SKILL.mdskills-figquery/figma-generate-design/SKILL.md:429High confidence
- Network access in code of the SKILL.mdskills-figquery/figma-generate-design/SKILL.md:429High confidence
- Network access in code of the SKILL.mdfigma-generate-design/SKILL.md:430High confidence
- Network access in code of the SKILL.mdskills-figquery/figma-generate-design/SKILL.md:430High confidence
- Network access in code of the SKILL.mdskills-figquery/figma-generate-design/SKILL.md:430High confidence
- Network access in code of the SKILL.mdfigma-generate-design/SKILL.md:431High confidence
- Network access in code of the SKILL.mdskills-figquery/figma-generate-design/SKILL.md:431High confidence
- Network access in code of the SKILL.mdskills-figquery/figma-generate-design/SKILL.md:431High confidence
- Access to secrets in code of documentationfigma-generate-diagram/references/sequence.md:250Low confidence
- Network access in code of documentationskills-figquery/figma-generate-library/references/component-creation.md:509Low confidence
- Network access in code of documentationfigma-generate-library/references/component-creation.md:509Low confidence
- Network access in code of documentationskills-figquery/figma-generate-library/references/component-creation.md:510Low confidence
- Network access in code of documentationfigma-generate-library/references/component-creation.md:510Low confidence
- Network access in code of documentationskills-figquery/figma-generate-library/references/component-creation.md:511Low confidence
- Network access in code of documentationfigma-generate-library/references/component-creation.md:511Low confidence
- Network access in code of documentationskills-figquery/figma-generate-library/references/component-creation.md:602Low confidence
- Network access in code of documentationfigma-generate-library/references/component-creation.md:602Low confidence
- Network access in code of documentationskills-figquery/figma-generate-library/references/component-creation.md:603Low confidence
- Network access in code of documentationfigma-generate-library/references/component-creation.md:603Low confidence
- Network access in code of documentationskills-figquery/figma-generate-library/references/component-creation.md:878Low confidence
- Network access in code of documentationfigma-generate-library/references/component-creation.md:878Low confidence
and 450 more
Only the first 500 facts are listed.
Works with
| Agent | Status | Evidence | Install to |
|---|---|---|---|
| Claude Code | Native | Manifest .claude-plugin/plugin.json | .claude/skills/<skill-name>/ |
| Codex | Compatible | Standard SKILL.md skills-figquery/figma-code-connect/SKILL.md | .agents/skills/<skill-name>/ |
| Cursor | Compatible | Standard SKILL.md skills-figquery/figma-code-connect/SKILL.md | .cursor/skills/<skill-name>/ |
| Gemini CLI | Native | Manifest gemini-extension.json | .gemini/skills/<skill-name>/ |
| GitHub Copilot | Compatible | Standard SKILL.md skills-figquery/figma-code-connect/SKILL.md | .github/skills/<skill-name>/ |
| OpenCode | Compatible | Standard SKILL.md skills-figquery/figma-code-connect/SKILL.md | .opencode/skills/<skill-name>/ |
- Native The repository ships a manifest, folder or frontmatter field for this agent.
- Compatible A standard SKILL.md that this agent can read.
- Unknown No evidence either way.
Derived automatically from paths, manifests and frontmatter. Not tested on each agent.
Explore alternatives and comparisons
Add this badge to your README
It updates every night and links to this page.
[](https://hotskills.dev/skill/figma-mcp-server-guide/)