@uranus-workspace/blocks
v1.0.2
Published
Uranus Technologies composite blocks — higher-level layouts built on @uranus-workspace/design-system.
Readme
@uranus-workspace/blocks
Composite layout and product blocks built on @uranus-workspace/design-system v2.
Tracks
@uranus-workspace/design-system@^2. See CHANGELOG for the changes shipped in each version.
Peer dependencies
Besides @uranus-workspace/design-system, this package lists react-hook-form, zod, and @hookform/resolvers as peers (auth fields use the same Form primitives as the design-system package). Keep versions aligned with your app and packages/design-system/package.json so the lockfile resolves one shared copy.
Composition-first API
- Prefer slots (
ReactNodeprops) andchildrenso consumers pass real JSX (icons, links, menus) instead of only JSON-shaped config. - Prefer compound subcomponents (e.g.
AppSidebar.Header,AppSidebar.Content) when a block has multiple distinct regions. - Compose existing blocks/primitives; avoid copy-pasting
AlertDialog/Sheetshells — extend via a shared block or adialogBody-style slot. - Config helpers (e.g.
groupsonAppSidebar) may remain as an optional fast path; the compositional tree is the default recommendation for custom nav.
Repository rules and commands live in the root CLAUDE.md.
