provider Components GET /v1/teams/{team_id}/components
@utdk/figma /v1/teams/{team_id}/components
Get team components
Get a paginated list of published components within a team library.
team_id path required
Id of the team to list components from.
string
page_size query
Number of items to return in a paged list of results. Defaults to 30. Maximum of 1000.
number
after query
Cursor indicating which id after which to start retrieving components for. Exclusive with before. The cursor value is an internally tracked integer that doesn't correspond to any Ids.
number
before query
Cursor indicating which id before which to start retrieving components for. Exclusive with after. The cursor value is an internally tracked integer that doesn't correspond to any Ids.
number

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.

getteamcomponents
GET/v1/teams/{team_id}/components
Get a paginated list of published components within a team library.

Parameters

required

Id of the team to list components from.

Number of items to return in a paged list of results. Defaults to 30. Maximum of 1000.

Cursor indicating which id after which to start retrieving components for. Exclusive with before. The cursor value is an internally tracked integer that doesn't correspond to any Ids.

Cursor indicating which id before which to start retrieving components for. Exclusive with after. The cursor value is an internally tracked integer that doesn't correspond to any Ids.

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.getteamcomponents({
  "page_size": 30
})