Skip to content
Merged
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
19 changes: 19 additions & 0 deletions content/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,25 @@ Install components directly from the registry using the shadcn CLI:
npx shadcn@latest add https://nteract-elements.vercel.app/r/ansi-output.json
```

### Using the `@nteract` namespace

To use shorter install commands like `npx shadcn@latest add @nteract/badge`, add the registry to your `components.json`:

```json
{
"registries": {
"@nteract": "https://nteract-elements.vercel.app/r/{name}.json"
}
}
```

Then install components with the `@nteract/` prefix:

```bash
npx shadcn@latest add @nteract/ansi-output
npx shadcn@latest add @nteract/media-router
```

Or browse the component documentation to copy and adapt components for your project.

## Outputs
Expand Down