Building Compound Components Create unstyled, composable React components following the Radix UI / Base UI pattern. Components expose behavior via context while consumers control rendering. Project Rules These rules are specific to this codebase and override general patterns. Hooks Are Internal Hooks are implementation details, not public API. Never export hooks from the index. Consumers access state via render props , not hooks. When styled wrappers in the same package need hook access, import directly from the source file: No Custom Data Fetching in Primitives Base components can use SDK ho…