snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
15
apps/v4/registry/bases/README.md
Normal file
15
apps/v4/registry/bases/README.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# 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/`.
|
||||
Reference in New Issue
Block a user