provider Components GET /v1/components/{key}
@utdk/figma /v1/components/{key}
Get component
Get metadata on a component by key.
key path required
The unique identifier of the component.
string

Try it

Authentication
Configure credentials for Figma API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

getcomponent
GET/v1/components/{key}
Get metadata on a component by key.

Parameters

required

The unique identifier of the component.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import figma from '@utdk/figma';

await figma.getcomponent()