mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-27 22:54:18 +00:00
Merge branch 'main' into shadcn/base-docs
This commit is contained in:
@@ -11,7 +11,7 @@ import {
|
||||
} from "@/registry/new-york-v4/ui/input-group"
|
||||
|
||||
export const SearchDirectory = () => {
|
||||
const { query, setQuery } = useSearchRegistry()
|
||||
const { query, registries, setQuery } = useSearchRegistry()
|
||||
|
||||
const onQueryChange = (e: React.ChangeEvent<HTMLInputElement>) => {
|
||||
const value = e.target.value
|
||||
@@ -29,6 +29,12 @@ export const SearchDirectory = () => {
|
||||
value={query}
|
||||
onChange={onQueryChange}
|
||||
/>
|
||||
<InputGroupAddon align="inline-end">
|
||||
<span className="text-muted-foreground tabular-nums sm:text-xs">
|
||||
{registries.length}{" "}
|
||||
{registries.length === 1 ? "registry" : "registries"}
|
||||
</span>
|
||||
</InputGroupAddon>
|
||||
<InputGroupAddon
|
||||
align="inline-end"
|
||||
data-disabled={!query.length}
|
||||
|
||||
@@ -3,8 +3,20 @@ 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-800 dark:bg-amber-900 *:[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>
|
||||
|
||||
<DirectoryList />
|
||||
|
||||
Don't see a registry? Learn how to [add it here](/docs/registry/registry-index).
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
"@bucharitesh": "https://bucharitesh.in/r/{name}.json",
|
||||
"@bundui": "https://bundui.io/r/{name}.json",
|
||||
"@cardcn": "https://cardcn.dev/r/{name}.json",
|
||||
"@chamaac": "https://chamaac.com/r/{name}.json",
|
||||
"@clerk": "https://clerk.com/r/{name}.json",
|
||||
"@coss": "https://coss.com/ui/r/{name}.json",
|
||||
"@commercn": "https://commercn.com/r/{name}.json",
|
||||
@@ -58,6 +59,7 @@
|
||||
"@nativeui": "https://nativeui.io/registry/{name}.json",
|
||||
"@nexus-elements": "https://elements.nexus.availproject.org/r/{name}.json",
|
||||
"@ncdai": "https://chanhdai.com/r/{name}.json",
|
||||
"@neobrutalism": "https://www.neobrutalism.dev/r/{name}.json",
|
||||
"@nuqs": "https://nuqs.dev/r/{name}.json",
|
||||
"@optics": "https://optics.agusmayol.com.ar/r/{name}.json",
|
||||
"@oui": "https://oui.mw10013.workers.dev/r/{name}.json",
|
||||
@@ -113,5 +115,23 @@
|
||||
"@ui-layouts": "https://ui-layouts.com/r/{name}.json",
|
||||
"@pureui": "https://pure.kam-ui.com/r/{name}.json",
|
||||
"@tour": "https://onboarding-tour.vercel.app/r/{name}.json",
|
||||
"@tb-blocks": "https://tailwindbuilder.ai/r/blocks/{name}.json"
|
||||
"@tb-blocks": "https://tailwindbuilder.ai/r/blocks/{name}.json",
|
||||
"@heroicons-animated": "https://www.heroicons-animated.com/r/{name}.json",
|
||||
"@icons-animated": "https://icons.lndev.me/r/{name}.json",
|
||||
"@forgeui": "https://forgeui.in/r/{name}.json",
|
||||
"@darx": "https://darshitdev.in/r/{name}.json",
|
||||
"@gamifykit": "https://gamifykit.com/r/{name}.json",
|
||||
"@beste-ui": "https://ui.beste.co/r/{name}.json",
|
||||
"@tokenui": "https://www.tokenui.dev/r/{name}.json",
|
||||
"@lumiui": "https://www.lumiui.dev/r/{name}.json",
|
||||
"@uselayouts": "https://uselayouts.com/r/{name}.json",
|
||||
"@joyco": "https://registry.joyco.studio/r/{name}.json",
|
||||
"@gooseui": "https://gooseui.pro/r/{name}.json",
|
||||
"@baselayer": "https://www.baselayer.dev/r/{name}.json",
|
||||
"@jolyui": "https://www.jolyui.dev/r/{name}.json",
|
||||
"@fab-ui": "https://fab-ui.com/r/{name}.json",
|
||||
"@asanshay": "https://ds.asanshay.com/r/{name}.json",
|
||||
"@headcodecms": "https://headcodecms.com/r/{name}.json",
|
||||
"@typedora-ui": "https://typedora-ui.netlify.app/r/{name}.json",
|
||||
"@agents-ui": "https://livekit.io/ui/r/{name}.json"
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user