Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
2 changes: 1 addition & 1 deletion app/docs/components/ai-copy-button/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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.`
Expand Down
15 changes: 9 additions & 6 deletions app/docs/installation/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export default async function InstallationPage() {
CLI to add any component from the registry:
</p>
<CodeLine
code="npx shadcn@latest add https://ui.justinlevine.me/r/github-stars-button.json"
code="npx shadcn@latest add jalco/github-stars-button"
language="bash"
/>
<p className="text-sm text-muted-foreground">This will:</p>
Expand Down Expand Up @@ -112,16 +112,19 @@ export default async function InstallationPage() {
</section>

<section className="flex flex-col gap-4">
<h2 className="text-xl font-semibold tracking-tight">Registry URL</h2>
<h2 className="text-xl font-semibold tracking-tight">Registry</h2>
<p className="text-sm text-muted-foreground">
The base registry URL is:
jalco ui is listed in the official shadcn registry. All components use
the{" "}
<code className="rounded bg-muted px-1 py-0.5 text-xs">jalco</code>{" "}
namespace:
</p>
<CodeLine code="https://ui.justinlevine.me/r/" language="bash" />
<CodeLine code="npx shadcn@latest add jalco/{component-name}" language="bash" />
<p className="text-sm text-muted-foreground">
Individual component payloads are available at:
You can also install directly from the registry URL:
</p>
<CodeLine
code="https://ui.justinlevine.me/r/{component-name}.json"
code="npx shadcn@latest add https://ui.justinlevine.me/r/{component-name}.json"
language="bash"
/>
</section>
Expand Down
2 changes: 1 addition & 1 deletion components/docs/component-docs-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}`
: ""
}`

Expand Down
2 changes: 1 addition & 1 deletion components/docs/install-command.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<CodeBlockCommand
Expand Down
2 changes: 1 addition & 1 deletion lib/prompts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export function generateInstallationPrompt(): string {
"## How to install a component",
"",
"```bash",
"npx shadcn@latest add https://ui.justinlevine.me/r/{component-name}.json",
"npx shadcn@latest add jalco/{component-name}",
"```",
"",
"Replace `{component-name}` with the component name from the list below.",
Expand Down
Loading