# Registry (/docs/registry)

Learn how to use the slidecn registry with the shadcn CLI.

> For the complete documentation index, see [llms.txt](/llms.txt). Markdown variants are available by appending `.md` to any URL or sending an `Accept: text/markdown` header. An agent skill is available at [/.well-known/agent-skills/site-skill.md](/.well-known/agent-skills/site-skill.md).



The **slidecn** registry ships reveal.js components, blocks, themes, and font helpers in the [shadcn registry format](https://ui.shadcn.com/docs/registry). Register the namespace once in `components.json`, then pull items by name with the CLI.

## Setup [#setup]

Add a **registries** entry for this site. See the [shadcn registry documentation](https://ui.shadcn.com/docs/registry) for all `components.json` fields and behaviors.

```json
{
  "registries": {
    "@slidecn": "https://slidecn.dev/r/{name}.json"
  }
}
```

You can replace `@slidecn` with another namespace; it only needs to match what you pass to `shadcn add`.

## Usage [#usage]

```bash
npx dlx shadcn@latest add @slidecn/section-slide
```

**Themes** are `theme-<id>.json`:

```bash
npx dlx shadcn@latest add @slidecn/theme-dark
```

Without a registry alias, use the full URL shown on each docs page:

```bash
npx dlx shadcn@latest add https://slidecn.dev/r/hero.json
```
