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
getcomponent
GET/v1/components/{key}
Get metadata on a component by key.

Parameters

required

The unique identifier of the component.

Configure credentials above to enable sending.

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

TypeScript

import figma from '@utdk/figma';

await figma.getcomponent()