mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-11 09:51:40 +00:00
* feat: implement registry add * chore: changeset * fix: registries docs * feat: update add command * fix
82 lines
2.5 KiB
Plaintext
82 lines
2.5 KiB
Plaintext
---
|
|
title: Registry Directory
|
|
description: Discover community registries for shadcn/ui components and blocks.
|
|
---
|
|
|
|
import { TriangleAlertIcon } from "lucide-react"
|
|
|
|
These registries are built into the CLI with no additional configuration required. To add a component, run: `npx shadcn add @<registry>/<component>`.
|
|
|
|
<Callout
|
|
type="warning"
|
|
icon={<TriangleAlertIcon />}
|
|
className="gap-2! border-amber-200 bg-amber-50 p-2 font-semibold dark:border-amber-900 dark:bg-amber-950/80 *:[svg]:translate-y-1"
|
|
>
|
|
Community registries are maintained by third-party developers and are not
|
|
officially curated. Always review code on installation to ensure it meets your
|
|
security and quality standards.
|
|
</Callout>
|
|
|
|
Don't see a registry? Learn how to [add it here](/docs/registry/registry-index).
|
|
|
|
<DirectoryList />
|
|
|
|
## Documentation
|
|
|
|
You can use the `shadcn` CLI to run your own code registry. Running your own registry allows you to distribute your custom components, hooks, pages, config, rules and other files to any project.
|
|
|
|
<div className="mt-6 grid gap-4 sm:grid-cols-2">
|
|
<LinkedCard href="/docs/registry/getting-started" className="items-start text-sm md:p-6">
|
|
<div className="font-medium">Getting Started</div>
|
|
<div className="text-muted-foreground">
|
|
Set up and build your own registry
|
|
</div>
|
|
</LinkedCard>
|
|
|
|
<LinkedCard
|
|
href="/docs/registry/authentication"
|
|
className="items-start text-sm md:p-6"
|
|
>
|
|
<div className="font-medium">Authentication</div>
|
|
<div className="text-muted-foreground">
|
|
Secure your registry with authentication
|
|
</div>
|
|
</LinkedCard>
|
|
<LinkedCard
|
|
href="/docs/registry/namespace"
|
|
className="items-start text-sm md:p-6"
|
|
>
|
|
<div className="font-medium">Namespaces</div>
|
|
<div className="text-muted-foreground">
|
|
Configure registries with namespaces
|
|
</div>
|
|
</LinkedCard>
|
|
<LinkedCard
|
|
href="/docs/registry/registry-index"
|
|
className="items-start text-sm md:p-6"
|
|
>
|
|
<div className="font-medium">Add a Registry</div>
|
|
<div className="text-muted-foreground">
|
|
Learn how to add a registry to the directory
|
|
</div>
|
|
</LinkedCard>
|
|
<LinkedCard
|
|
href="/docs/registry/examples"
|
|
className="items-start text-sm md:p-6"
|
|
>
|
|
<div className="font-medium">Examples</div>
|
|
<div className="text-muted-foreground">
|
|
Registry item examples and configurations
|
|
</div>
|
|
</LinkedCard>
|
|
<LinkedCard
|
|
href="/docs/registry/registry-json"
|
|
className="items-start text-sm md:p-6"
|
|
>
|
|
<div className="font-medium">Schema</div>
|
|
<div className="text-muted-foreground">
|
|
Schema specification for registry.json
|
|
</div>
|
|
</LinkedCard>
|
|
</div>
|