Updates for 2026-06-10
Slots GA
Slots were supported within the Plugin API throughout the public beta. With our GA launch of slots, we've introduced new capabilities alongside stability improvements in both Figma Design and the Plugin API.
New node type
SlotNode: Represents a slot within a component or instance. A slot is a child frame of a component that has freeform content editing.
New types
SlotSettings: Slot-specific configuration for'SLOT'-typed component properties. Fields includestretchChildOnInsert,displayEmptyByDefault,minChildren,maxChildren, andallowPreferredValuesOnly.
New methods
componentNode.createSlot(): Creates a new slot node within a component.slotNode.resetSlot(): Resets a slot node to the original component slot content.
New read properties
slotNode.limitViolations: GivenslotSettingsare configured on the slot definition, returns any limits that the current slot instance is in violation of. Possible kinds are'BELOW_MIN','ABOVE_MAX', and'HAS_NON_PREFERRED'. Returns an empty array when within limits.
Updated types
ComponentPropertyType: Added'SLOT'as a new component property type.ComponentPropertyOptions: Added optionaldescriptionandslotSettingsfields, applicable to slot properties.ComponentPropertyDefinitions: Added optionaldescriptionandslotSettingsfields for slot property definitions.
Updated methods
addComponentProperty(): Now supports'SLOT'property type, including aslotSettingsoption for configuring slot behavior and child-count limits.editComponentProperty(): Now supports'SLOT'property type withpreferredValues,description, andslotSettingsoptions.deleteComponentProperty(): Now supports'SLOT'property type.