sh4dcn(7)

agents

Machine-readable twins of every listing — JSON, Markdown, CSV. Upstream directory.json is re-fetched and AI-enriched daily (06:00 UTC); last sync 2026-09-05 · 292 libraries.

Start here

Synopsis

# sh4dcn — instructions for AI coding agents
# 292 shadcn-compatible registries · generated 2026-09-05

1. Read the directory:      curl -s https://sh4dcn.vercel.app/json
   (lighter tabular form:   curl -s https://sh4dcn.vercel.app/csv/libraries.csv)
2. Pick a library and read its brief:
                            curl -s https://sh4dcn.vercel.app/md/<slug>.md
3. Pull component source WITHOUT hitting the upstream vendor — sh4dcn clones
   the free registries locally, in two tiers:
     clone (verbatim):      curl -s https://sh4dcn.vercel.app/clone/<slug>/items/<name>.json
     copies (modified):     curl -s https://sh4dcn.vercel.app/copies/<slug>/items/<name>.json
     per-library brief:     curl -s https://sh4dcn.vercel.app/clone/<slug>/PROMPT.md
     what's cloned:         curl -s https://sh4dcn.vercel.app/clone/manifest.json
     what's modified:       curl -s https://sh4dcn.vercel.app/copies/manifest.json
   Precedence when applying: a /copies/ version overrides its /clone/, which
   overrides a live fetch. Clones stay pristine; copies hold your edits.
4. Install into a shadcn project:
                            npx shadcn@latest add <registry_json_url>
   ...or one component using the install_command listed per component.
5. Never scrape the HTML UI — every page here has a machine-readable twin.
   Full artifact index:     https://sh4dcn.vercel.app/csv/files.csv

Ground rules

  • Directory and component listing only — not the official shadcn/ui library, not a clone of its website.
  • Read the structured files; do not scrape this UI.
  • Every library lists website, GitHub repo, components folder, registry JSON, install commands, tags, and pro/paid-tier info when one exists.
  • Pro tiers are indexed as metadata (URL + pricing link) only — paid component source is not mirrored here.

Files (17 global + 292 per-library)

pathformatsizedescription
/jsonjsonFull agent directory: every library + component with URLs, commands, pro info.
/agent-directory.jsonjson14.7 MBSame document as /json, served as a static file.
/directory.jsonjson7.3 MBLegacy enriched directory shape (back-compat).
/directory.mdmarkdown782 KBFull directory as one Markdown document.
/libraries.jsonjson1.9 MBNormalized library records.
/components.jsonjson1.3 MBInverted index: component name -> libraries that ship it.
/components.mdmarkdown896 KBComponent index as Markdown.
/components-full.jsonjson19.2 MBFlattened per-component records across all libraries.
/taxonomy.jsonjson6 KBCategories + tags with counts.
/categories.jsonjson9 KBCategory index with member library ids.
/tags.jsonjson76 KBTag index with member library ids.
/sources.jsonjson43 KBSource-host index.
/llms.txttext4 KBAI-agent entry point listing every machine-readable artifact.
/md/index.mdmarkdown29 KBIndex of all per-library Markdown files.
/csv/libraries.csvcsv237 KBOne row per library.
/csv/components.csvcsv9.4 MBOne row per component.
/csv/files.csvcsv55 KBThis file: index of every published artifact.

Plus one Markdown brief per library at /md/<slug>.md (292 files) — frontmatter metadata, install commands, the full component table, and agent instructions.

Cloned component source (clone + copies)

To spare the upstream registries (and to keep working offline), sh4dcn clones each free library's registry-item JSON into this repo in two tiers: clone (verbatim upstream source) and copies(modified versions). A copy overrides its clone; the clone stays pristine. Read it same-origin instead of re-fetching from the vendor:

https://sh4dcn.vercel.app/clone/manifest.jsonindex of everything cloned, with per-library counts
https://sh4dcn.vercel.app/copies/manifest.jsonindex of modified versions (empty until edits exist)
https://sh4dcn.vercel.app/clone/react-bits/index.jsona library's registry listing (verbatim)
https://sh4dcn.vercel.app/clone/react-bits/items/<name>.jsonone component's registry-item JSON (source included)
https://sh4dcn.vercel.app/clone/react-bits/PROMPT.mdper-library clone brief (pull → install → modify)
https://sh4dcn.vercel.app/copies/react-bits/items/<name>.jsona modified version, when one has been added

96 libraries · 8,498 components · 83 MB cloned · 8 modified copies. Pro/paid tiers are indexed by URL only — their source is never cloned here.

Per-library deep links

https://sh4dcn.vercel.app/registry/1st-poufhuman-readable detail page
https://sh4dcn.vercel.app/md/1st-pouf.mdagent-readable Markdown brief
https://sh4dcn.vercel.app/jsonfull record under libraries[] where slug == "1st-pouf"

Source

Upstream: shadcn-ui/ui · apps/v4/registry/directory.json · refreshed daily at 06:00 UTC · 292 libraries