diff --git a/README.md b/README.md index aaae0cf..1d59efe 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Components are polished, composable, and built for React and Tailwind CSS. Insta ## Install ```bash -npx shadcn@latest add https://ui.justinlevine.me/r/[component].json +npx shadcn@latest add jalco/[component] ``` Browse all components at [ui.justinlevine.me/docs](https://ui.justinlevine.me/docs). diff --git a/app/docs/components/ai-copy-button/page.tsx b/app/docs/components/ai-copy-button/page.tsx index f28e1e4..256fa17 100644 --- a/app/docs/components/ai-copy-button/page.tsx +++ b/app/docs/components/ai-copy-button/page.tsx @@ -18,7 +18,7 @@ const sampleContent = `# Getting Started with jalco ui Install the registry component you need: \`\`\`bash -npx shadcn@latest add https://ui.justinlevine.me/r/ai-copy-button.json +npx shadcn@latest add jalco/ai-copy-button \`\`\` Then import and use it in your project.` diff --git a/app/docs/installation/page.tsx b/app/docs/installation/page.tsx index beeefd6..c000eba 100644 --- a/app/docs/installation/page.tsx +++ b/app/docs/installation/page.tsx @@ -83,7 +83,7 @@ export default async function InstallationPage() { CLI to add any component from the registry:

This will:

@@ -112,16 +112,19 @@ export default async function InstallationPage() {
-

Registry URL

+

Registry

- The base registry URL is: + jalco ui is listed in the official shadcn registry. All components use + the{" "} + jalco{" "} + namespace:

- +

- Individual component payloads are available at: + You can also install directly from the registry URL:

diff --git a/components/docs/component-docs-page.tsx b/components/docs/component-docs-page.tsx index 105879f..0443cb6 100644 --- a/components/docs/component-docs-page.tsx +++ b/components/docs/component-docs-page.tsx @@ -50,7 +50,7 @@ export async function ComponentDocsPage({ const pageSummary = `# ${title}\n\n${description}${ registryName - ? `\n\n## Install\n\nnpx shadcn@latest add https://ui.justinlevine.me/r/${registryName}.json` + ? `\n\n## Install\n\nnpx shadcn@latest add jalco/${registryName}` : "" }` diff --git a/components/docs/install-command.tsx b/components/docs/install-command.tsx index 0c1745a..8237437 100644 --- a/components/docs/install-command.tsx +++ b/components/docs/install-command.tsx @@ -14,7 +14,7 @@ interface InstallCommandProps { * Uses statically bundled SVG icons — no build-time API calls. */ export function InstallCommand({ name, className }: InstallCommandProps) { - const npmCommand = `npx shadcn@latest add https://ui.justinlevine.me/r/${name}.json` + const npmCommand = `npx shadcn@latest add jalco/${name}` return (