Skip to main content

figma.buzz

The Buzz API provides methods for creating and managing media content in Figma Buzz. Please see the Working in Buzz guide for how to use these functions.

info

This API is only available when your plugin is running in Figma Buzz (figma.editorType === 'buzz').

createFrame(rowIndex?: number, columnIndex?: number): FrameNode

Creates a new frame in Buzz, optionally positioned at specific canvas coordinates.

View more →


createInstance(component: ComponentNode, rowIndex: number, columnIndex?: number): InstanceNode

Creates an instance of a component in Buzz, optionally positioned at specific canvas coordinates.

View more →


getBuzzAssetTypeForNode(node: SceneNode): BuzzAssetType | null

Gets the Buzz asset type for a given node.

View more →


setBuzzAssetTypeForNode(node: SceneNode, assetType: BuzzAssetType): void

Sets the Buzz asset type for a given node.

View more →


getTextContent(node: SceneNode): BuzzTextField[]

Extracts all text content fields from a node for dynamic content management.

View more →


getMediaContent(node: SceneNode): BuzzMediaField[]

Extracts all media content fields from a node for dynamic content management.

View more →


smartResize(node: SceneNode, width: number, height: number): void

Performs intelligent resizing of a node while maintaining layout integrity and aspect ratios.

View more →