Components
The slidecn registry ships reveal.js components, blocks, themes, and font helpers in the shadcn registry format. Register the namespace once in components.json, then pull items by name with the CLI.
Setup
Add a registries entry for this site. See the shadcn registry documentation for all components.json fields and behaviors.
{
"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
$ pnpm dlx dlx shadcn@latest add @slidecn/section-slide
Themes are theme-<id>.json:
$ pnpm dlx dlx shadcn@latest add @slidecn/theme-dark
Without a registry alias, use the full URL shown on each docs page:
$ pnpm dlx dlx shadcn@latest add https://slidecn.dev/r/hero.json