shadcn-templ 2.0 beta. Switch to templUI v1
1.7k

Introduction

How shadcn-templ distributes code through a registry.

shadcn-templ distributes its code through a registry. The registry allows the shadcn-templ CLI to install components, the shared utils package, themes and presets into any project — everything init, add and apply install comes from it over HTTP.

Note: The registry is a set of plain JSON endpoints. Any server that serves the same JSON shapes works as a registry — the CLI can be pointed at it with --registry or the SHADCN_TEMPL_REGISTRY environment variable.

The official registry is served at https://shadcn-templ.com. The next sections document how it is served, the schema of the registry catalog, and the specification of registry items.