Skip to docs navigation

21st.dev integration guide

Verified

How to connect 21st.dev to WEXTL and use its 33 actions in your workflows. About 21st.dev: Community catalog of React and Tailwind components.

  • 11 searches
  • 22 actions
  • Polling
  • Auth: API key

AI-assisted documentation11 min read

This documentation is compiled from our integration source code, internal specs for 21st.dev, its official API documentation and anonymized requests logs we collect from our support team[2].

Open 21st.dev on WEXTL →
  • 21st.dev
  • API KeypasswordRequired

    Open 21st.dev/mcp, sign in and create an API key. It starts with 21st_sk_. Keys from the old Magic console no longer work.[1]

  1. Log in to your WEXTL account, add the 21st.dev node module to your workflow, and click Create new credential.
  2. Optional: In the Credential name field, enter a name for the credential.
  3. Enter the authentication credentials you copied from your 21st.dev account, or follow the on-screen instructions to create the credential.
  4. If prompted, authenticate your account and confirm access.
  5. If you want to make changes to your credential in the future, follow the steps in Manage credentials →

Get a Component Draft

ActionBuild progress and links of one draft.
Input fields[3]
FieldType
DraftRequired
choice
Output fields[3]
FieldType
Statetext
Draft IDtext
Sandbox IDtext
Editor URLtext
Status URLtext
Review URLtext
Component IDnumber
URLtext
Install Reftext
Messagetext
Retryableboolean

Get a Library

ActionLibrary record with its logo, links and component total.
Input fields[3]
FieldType
LibraryRequired
choice
Output fields[3]
FieldType
IDtext
Nametext
Slugtext
Descriptiontext
Display Nametext
Logo URLtext
Website URLtext
Github URLtext
Twitter URLtext
Is Public Pageboolean
Scopetext
Component Countnumber

Get Component Install Files

ActionCode, packages and preview links of one component.
Input fields[3]
FieldType
UsernameRequired
text
SlugRequired
text
Output fields[3]
FieldType
Install Reftext
Nametext
Slugtext
Descriptiontext
Registrytext
Visibilitytext
Authortext
Runtimetext
Filesarray
Dependenciesarray
Registry Dependenciesarray
Index CSS URLtext
Previewobject
Bundle HTML URLtext
Preview Image URLtext

Get the Current Account

ActionIdentity, plan and request allowance of the connected key.
Output fields[3]
FieldType
Userobject
IDtext
Emailtext
Display Nametext
Teamobject
IDtext
Nametext
Slugtext
Has Githubboolean
Plantext
Requests Remainingnumber

Get the Draft Review Details

ActionReview state and media of a draft.
Input fields[3]
FieldType
DraftRequired
choice
Output fields[3]
FieldType
Statetext
Draft IDtext
Source Hashtext
Source Digesttext
Componentobject
Demosarray
Mediaobject

Get the Profile Board

ActionLayout of your own profile page.
Output fields[3]
FieldType
Enabledboolean
Blocksarray
Warningsarray

Get the Registry Identity

ActionOwner name used for registry publishing.
Output fields[3]
FieldType
Userobject
IDtext
Emailtext
Display Nametext
Teamobject
IDtext
Nametext
Slugtext
Has Githubboolean
Plantext
Requests Remainingnumber

Get the Team Invite Link

ActionCurrent team invite link with onboarding commands.
Input fields[3]
FieldType
Replace the Linkboolean
Output fields[3]
FieldType
Invite URLtext
Tokentext
Team IDtext
Team Nametext
Rotatedboolean
Onboardingobject
Cli Setup URLtext
Install Commandtext

List Component Workspaces

SearchComponents and drafts together, with paging cursors.
Input fields[3]
FieldType
Limitnumber
Statuschoice
Scopetext
Component Cursortext
Draft Cursortext
Output fields[3]
FieldType
Reftext
Kindtext
IDnumber
Nametext
Slugtext
Statustext
Visibilitytext
Review Statustext
Demo Countnumber
Updated Attext
Editor URLtext
Can Editboolean
Can Edit Codeboolean
Next Component Cursortext
Next Draft Cursortext
Draft Allowance Remainingnumber

List Libraries

SearchLibraries available for publishing components.
Output fields[3]
FieldType
IDtext
Nametext
Slugtext
Descriptiontext
Display Nametext
Logo URLtext
Website URLtext
Github URLtext
Twitter URLtext
Is Public Pageboolean
Scopetext
Component Countnumber

Search Components

SearchRanked component search with a relevance score.
Input fields[3]
FieldType
QueryRequired
text
Scopechoice
Limitnumber
Output fields[3]
FieldType
Nametext
Slugtext
Descriptiontext
Registrytext
Visibilitytext
Install Reftext
URLtext
Preview URLtext
Tagsarray
Authortext
Updated Attext
Scorenumber

Capture Draft Review Media

ActionQueues cover media for a draft review.
Input fields[3]
FieldType
DraftRequired
choice
ActionRequired
choice
Output fields[3]
FieldType
Draft IDtext
Acceptedboolean

Create a Component Draft

ActionDraft with a sandbox, safe to retry by request ID.
Input fields[3]
FieldType
Draft Request IDRequired
text
NameRequired
text
DescriptionRequired
text
RuntimeRequired
choice
RegistryRequired
choice
DemosRequired
array
Demoobject
FilesRequired
text
Slugtext
Visibilitychoice
Librarychoice
Licensetext
Website URLtext
Tagsarray
Submit for Featuringboolean
Dependenciesarray
Dependencyobject
Component Dependenciesarray
Component Dependencyobject
Registry Dependenciesarray
Files File Nametext
Output fields[3]
FieldType
Statetext
Draft IDtext
Sandbox IDtext
Editor URLtext
Status URLtext
Review URLtext
Component IDnumber
URLtext
Install Reftext
Messagetext
Retryableboolean
Draft Request IDtext

Create a Component Revision

ActionOpens a published component as a draft.
Input fields[3]
FieldType
Component IDRequired
number
Output fields[3]
FieldType
Statetext
Draft IDtext
Sandbox IDtext
Editor URLtext
Status URLtext
Review URLtext
Component IDnumber
URLtext
Install Reftext
Messagetext
Retryableboolean

Create a Library

ActionNew component library for your account.
Input fields[3]
FieldType
NameRequired
text
SlugRequired
text
Descriptiontext
Output fields[3]
FieldType
IDtext
Nametext
Slugtext
Descriptiontext
Display Nametext
Logo URLtext
Website URLtext
Github URLtext
Twitter URLtext
Is Public Pageboolean
Scopetext
Component Countnumber

Create a Team Invite Link

ActionMakes sure the team has an invite link.
Output fields[3]
FieldType
Invite URLtext
Tokentext
Team IDtext
Team Nametext
Rotatedboolean
Onboardingobject
Cli Setup URLtext
Install Commandtext

Delete a Component Draft

ActionDraft deletion by ID.
Input fields[3]
FieldType
DraftRequired
choice
Output fields[3]
FieldType
Draft IDtext
Deletedboolean

Delete a Template

ActionRemoves one template listing.
Input fields[3]
FieldType
Template IDRequired
number
Output fields[3]
FieldType
IDnumber
Deletedtext

Make an API Call

universalYour own 21st REST API request.
Input fields[3]
FieldType
URLRequired
text
MethodRequired
choice
Headersarray
Headerobject
Query Stringarray
Parameterobject
Bodytext
Output fields[3]
FieldType
Bodytext
Headersobject
Status Codenumber

Publish a Component

ActionSynchronous build and publish of a catalog component.
Input fields[3]
FieldType
NameRequired
text
DescriptionRequired
text
RuntimeRequired
choice
RegistryRequired
choice
DemosRequired
array
Demoobject
FilesRequired
text
Slugtext
Visibilitychoice
Librarychoice
Licensetext
Website URLtext
Tagsarray
Submit for Featuringboolean
Dependenciesarray
Dependencyobject
Component Dependenciesarray
Component Dependencyobject
Registry Dependenciesarray
Files File Nametext
Output fields[3]
FieldType
Successboolean
Component IDnumber
Is Newboolean
Usernametext
Slugtext
URLtext
Visibilitytext
Install Reftext
Demosarray
Duration Msnumber

Publish a Component Draft

ActionPromotes a draft to a live component.
Input fields[3]
FieldType
DraftRequired
choice
Output fields[3]
FieldType
Successboolean
Component IDnumber
Is Newboolean
Usernametext
Slugtext
URLtext
Visibilitytext
Install Reftext
Demosarray
Duration Msnumber

Publish a Template

ActionNew template listing with previews and an optional price.
Input fields[3]
FieldType
NameRequired
text
Website Preview URLRequired
text
Preview URLRequired
text
Descriptiontext
Video URLtext
Payment URLtext
Pricenumber
Tag IDsarray
Output fields[3]
FieldType
IDnumber
Slugtext
URLtext
Statustext
Templateobject
IDnumber
Slugtext
Nametext
Descriptiontext
Statustext
Website Preview URLtext
Preview URLtext
Video URLtext
Payment URLtext
Pricenumber

Publish a Theme

ActionNew community theme built from CSS.
Input fields[3]
FieldType
NameRequired
text
CSSRequired
text
Tagsarray
Output fields[3]
FieldType
IDtext
Slugtext
URLtext

Replace the Profile Board

ActionFull replacement of the profile board.
Input fields[3]
FieldType
BlocksRequired
text
Output fields[3]
FieldType
Enabledboolean
Blocksarray
Warningsarray

Unpublish a Component

ActionCatalog removal of a published component.
Input fields[3]
FieldType
ComponentRequired
choice
Output fields[3]
FieldType
IDnumber
Slugtext
Visibilitytext
Unpublishedtext
Alreadyboolean

Unpublish a Theme

ActionCommunity theme withdrawal by ID.
Input fields[3]
FieldType
Theme IDRequired
text
Output fields[3]
FieldType
IDtext
Unpublishedtext
Alreadyboolean

Update a Component

ActionEdits visibility and text of an owned component.
Input fields[3]
FieldType
ComponentRequired
choice
Visibilitychoice
Descriptiontext
Tagsarray
Clear Fieldschoice
Output fields[3]
FieldType
IDnumber
Slugtext
Visibilitytext
Review Statustext
Updatedboolean

Update a Library

ActionEdits library text, links, visibility or logo.
Input fields[3]
FieldType
LibraryRequired
choice
Nametext
Descriptiontext
Display Nametext
Logo URLtext
Website URLtext
GitHub URLtext
Twitter URLtext
Public Pagechoice
Logotext
Logo File Nametext
Output fields[3]
FieldType
IDtext
Nametext
Slugtext
Descriptiontext
Display Nametext
Logo URLtext
Website URLtext
Github URLtext
Twitter URLtext
Is Public Pageboolean
Scopetext
Component Countnumber

Update a Template

ActionEdits a template listing.
Input fields[3]
FieldType
Template IDRequired
number
Nametext
Website Preview URLtext
Preview URLtext
Descriptiontext
Video URLtext
Payment URLtext
Pricenumber
Tag IDsarray
Clear Fieldschoice
Output fields[3]
FieldType
IDnumber
Updatedboolean
Templateobject
IDnumber
Slugtext
Nametext
Descriptiontext
Statustext
Website Preview URLtext
Preview URLtext
Video URLtext
Payment URLtext
Pricenumber

Update a Theme

ActionTheme rename, retag and visibility change.
Input fields[3]
FieldType
Theme IDRequired
text
Nametext
Tagsarray
Visibilitychoice
Clear Fieldschoice
Output fields[3]
FieldType
IDtext
Updatedboolean

Update the Component Review Status

ActionSubmits, withdraws or resubmits a catalog review.
Input fields[3]
FieldType
ComponentRequired
choice
ActionRequired
choice
Output fields[3]
FieldType
IDnumber
Slugtext
Visibilitytext
Review Statustext
Updatedboolean

Update the Draft Source

ActionReplaces draft source files.
Input fields[3]
FieldType
DraftRequired
choice
FilesRequired
text
Files File Nametext
Output fields[3]
FieldType
Statetext
Draft IDtext
Source Hashtext
Source Digesttext
Changedboolean
Requires Retryboolean
Media Queuedboolean

Upload a Profile Image

ActionStores an image for the profile board.
Input fields[3]
FieldType
Data URLRequired
text
Output fields[3]
FieldType
URLtext

Look for 21st.dev templates in the WEXTL template library.

Browse templates →
  1. WEXTL® 21st.dev Source Code connector implementation.
  2. Our users use cases and automations.
  3. Official API Documentation for 21st.dev.
  4. WEXTL® visual workflow builder data.

Last updated: Nov 29, 2026 17:02

How we write our apps documentation

How we compile these docs: sources, the role of AI, and how we verify.