Skip to content

Getting started

Floret Pro

Pro items install the same way free ones do, with the source copied into your project. The Floret CLI checks your license first.

Get a license

Buy Floret Pro on the pricing page for a one-time $49. No account is needed: your license key is shown after checkout and emailed to the address you paid with.

Sign in a device

Run this once per computer. It creates a key for this device in your user folder and registers it with your license.

npx @shipped-ui/floret login FLRT-XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXX

Add Pro items

Run it in a project that has a components.json. Free items work too, so one command covers both.

npx @shipped-ui/floret add magnetic-button

What changes in your project

The CLI adds two registries to components.json, then runs the shadcn CLI with a short-lived token that is never written to disk.

{
  "registries": {
    "@floret": "https://floret.shippedui.com/r/{name}.json",
    "@floret-pro": {
      "url": "https://floret.shippedui.com/api/registry/pro/{name}",
      "headers": {
        "Authorization": "Bearer ${FLORET_PRO_TOKEN}",
        "X-Floret-Pins": "${FLORET_PRO_PINS}"
      }
    }
  }
}

It also writes floret.lock.json with the version of each Pro item you installed. Commit both files. Your license key and device key stay in your user folder, so a copied project carries no credentials.

Devices

A license can be signed in on 3 devices at a time. Run npx @shipped-ui/floret logout on a machine you no longer use, or sign devices out from the license page with your purchase email. That page also issues a new key if you lose yours.

Updates

Installs stay on the version in floret.lock.json, so a new release never changes a project by surprise.

npx @shipped-ui/floret update magnetic-button