Skip to content
Gelatin UIAlpha

Install Pro items

Add the Pro registry to components.json once. Then add any Pro item with the same shadcn command as a Free one.

Pro · step 2 of 2 · 3 min read

Prompt for your agent

Read https://gelatinui.com/docs/pro-items.md. Add the @gelatin-ui-pro registry to components.json, with the header that reads GELATIN_UI_PRO_TOKEN. Never print or write the key. If the variable is not set, send me to https://gelatinui.com/docs/api-key.md. Done when npx shadcn@latest view @gelatin-ui-pro/data-grid shows the item with no 401.

Your agent reads /docs/pro-items.md: the same text as this page, as Markdown.

Pro items install with the same shadcn command as Free ones. You add the Pro registry once, and the CLI sends your API key with each add.

Before you start, create an API key and set GELATIN_UI_PRO_TOKEN.

Add the Pro registry

If you set up the project with shadcn init and our base.json (Install), components.json has this block already: skip to the next step. Else add @gelatin-ui-pro to the registries block of components.json, next to the Free registry:

JSON

Write ${GELATIN_UI_PRO_TOKEN} exactly as it shows. The shadcn CLI puts in the value from the environment variable, and it reads .env and .env.local itself. So the key never goes into components.json.

Add a Pro item

Put the @gelatin-ui-pro prefix before the name:

A Pro item can use Free items. The CLI adds them from @gelatin-ui in the same command.

Fix a failed add

The CLI shows the message from the registry. These are the usual codes:

CodeWhat it meansWhat to do
401The key is missing, wrong, or revoked, or the account has no Pro license.Check GELATIN_UI_PRO_TOKEN in .env.local. Create a new key on the API keys page of the dashboard, and check your plan in Billing.
403The key works, but the account is on hold.Open Billing in the dashboard, or write to support.
404No Pro item has this name.Copy the name from the Install section of the item page.

What the license lets you do

You can:

  • Use Pro items in any number of projects, for you and for your clients.
  • Change the code in any way, and ship it in products that you sell.
  • Pay once. A license does not end, and it includes every Pro item that comes out later.

You cannot:

  • Sell or share Pro items on their own.
  • Put them in a UI kit, a template, or a component library.

Read the license for the full text.

Personal and Team plans

PlanWho can add Pro items
PersonalOne person. Only you can add Pro items with your keys.
TeamOne seat for each person in the team workspace, from 2 seats. A workspace owner can also create keys for CI. Add more seats later on the Billing page.

Next steps