Current guide for the active OSS registry shipped from
oss/public/r/. Animated variants were archived; seearchive/README.mdfor the historical motion-based components.
# Default UI component (flat URL)
npx shadcn@latest add https://ui.edbn.me/r/button.json
# Explicit static variant
npx shadcn@latest add https://ui.edbn.me/r/static/button.json
# Shared primitive or hook
npx shadcn@latest add https://ui.edbn.me/r/shared/scroll-area.json
npx shadcn@latest add https://ui.edbn.me/r/use-click-outside.json
# Audio component
npx shadcn@latest add https://ui.edbn.me/r/audio/audio-message.json| Family | Path | Notes |
|---|---|---|
| Default flat | /r/*.json |
Current default install URLs for UI components and utilities |
| Static | /r/static/*.json |
CSS-only Base UI components |
| Shared | /r/shared/*.json |
Shared primitives, hooks, and utilities |
| Audio | /r/audio/*.json |
Audio and AI components plus related hooks |
| Main index | /r/registry.json |
Registry index for the active OSS registry |
- Animated registry items are no longer part of the active OSS registry.
- The active registry now focuses on static UI components, shared utilities, and audio components.
- Maps registry items are maintained in the parent site repo, not in this submodule.
- Add or update registry config in
oss/scripts/registry-config/. - Keep source files in the matching OSS directories:
oss/components/ui/static/oss/components/ui/shared/oss/lib/oss/hooks/oss/components/ui/audio/
- Rebuild the registry:
npm run registry:build- Review the generated output in
oss/public/r/.
| File | Responsibility |
|---|---|
oss/scripts/registry-config/static-components.mjs |
Static UI components |
oss/scripts/registry-config/shared-components.mjs |
Shared primitives |
oss/scripts/registry-config/library-components.mjs |
Shared library items |
oss/scripts/registry-config/hooks-config.mjs |
Shared hooks |
oss/scripts/registry-config/audio-components.mjs |
Audio components |
oss/scripts/registry-config/audio-hooks-config.mjs |
Audio-specific hooks |
Flat install URLs like button.json remain published for convenience, but new docs and examples should describe the current static, shared, and audio families rather than the archived animated registry.