figma_create_text
Create a text node on the current Figma page. Specify content, position, font family (defaults to Inter), size, style, and color. For design system text with token binding, use figma_execute.
Instructions
Create a new text node on the current page. Returns the created node ID. IMPORTANT: fontFamily defaults to 'Inter' — if using a design system (e.g. SUI uses SHBGrotesk), specify the DS font. For DS text with proper token binding, prefer figma_execute with importStyleByKeyAsync + setTextStyleIdAsync instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text content | |
| x | No | ||
| y | No | ||
| name | No | Node name (default: text content) | |
| fontSize | No | ||
| fontFamily | No | Font family — defaults to Inter. Specify DS font if using a design system (e.g. SHBGrotesk for SUI). | Inter |
| fontStyle | No | Regular | |
| fillColor | No | Text color hex e.g. '#000000' | |
| parentId | No | Parent node ID |