For the complete documentation index, see llms.txt. Markdown variants are available by appending .md to any URL or sending an Accept: text/markdown header. An agent skill is available at /.well-known/agent-skills/site-skill.md.
/
0
Sponsor

Registry

Learn how to use the pdfcn registry with the shadcn CLI.

The pdfcn registry ships Takumi and Forme components, blocks, and themes in the shadcn registry format. Register the namespace once in components.json, then pull items by name with the CLI.

Setup

Add a registries entry for this site. See the shadcn registry documentation for all components.json fields and behaviors.

{
  "registries": {
    "@pdfcn": "https://pdfcn.dev/r/{name}.json"
  }
}

You can replace @pdfcn with another namespace; it only needs to match what you pass to shadcn add.

Usage

Items are namespaced by base: takumi/ for Takumi and forme/ for Forme.

Registry files follow these destinations:

  • Components install into components/ui/.
  • Blocks install into the configured blocks directory.

Components declare their dependencies, so installing a component does not require additional setup.

Takumi

Install a component:

$ pnpm dlx shadcn@latest add @pdfcn/takumi/text

Install a block:

$ pnpm dlx shadcn@latest add @pdfcn/takumi/invoice-minimal

Without a registry alias, use the full URL (as on each docs page):

$ pnpm dlx shadcn@latest add https://pdfcn.dev/r/takumi/text.json

Forme

Install a component:

$ pnpm dlx shadcn@latest add @pdfcn/forme/text

Install a block:

$ pnpm dlx shadcn@latest add @pdfcn/forme/invoice-minimal

Without a registry alias, use the full URL (as on each docs page):

$ pnpm dlx shadcn@latest add https://pdfcn.dev/r/forme/text.json