16 lines
708 B
Markdown
16 lines
708 B
Markdown
# Registry bases (`base` and `radix`)
|
||
|
||
This folder holds **two parallel registries**:
|
||
|
||
- **`base/`** — Base UI–backed components and blocks
|
||
- **`radix/`** — Radix-backed components and blocks
|
||
|
||
## Keep them in sync
|
||
|
||
For any **shared** surface (same preview block, same card, same example intent), changes should be applied to **both** `base` and `radix` variants.
|
||
|
||
- Adjust only what must differ: imports (`.../base/ui/...` vs `.../radix/ui/...`) and primitive APIs.
|
||
- Avoid editing only one tree unless the work is intentionally scoped to a single base.
|
||
|
||
Project automation: see `.cursor/rules/registry-bases-parity.mdc` for the Cursor rule agents use when working under `apps/v4/registry/bases/`.
|