08 / 09

Registry

How surfaces install the components — own-the-code via the Lexi registry.

// components.json — point at the Lexi registry
{
  "registries": {
    "@lexi": "https://gloss.lexi.me/r/{name}.json"
  }
}

// add components — the theme installs itself on first add
npx shadcn@latest add @lexi/button @lexi/card @lexi/login

Own the code

Components install as source into the consuming repo — no runtime package. Requirements: Tailwind v4 and TypeScript.

Fonts stay with the consumer

Founders Grotesk is commercially licensed and never ships through the registry. Load it via next/font/local exposing --font-founders-grotesk — the bridge picks it up.

Last updated on 2026-09-13