Skip to main content
  • Version 0.1.0 · Purity browser-safe (React component package; ships JSX)
  • Purpose Shared React components, the BooAvatar, the cn class merger, and the design-token constant for Clawboo’s apps.
  • Workspace deps @clawboo/boo-avatar
  • External deps class-variance-authority, clsx, tailwind-merge; peer react (^18 || ^19)
shadcn/ui components are NOT exported here; they are initialized per-app via npx shadcn@latest init. This package carries only the cross-app primitives. The single React component shipped is BooAvatar.

Public API

The barrel re-exports two symbols (resolveBooTint, TINTS) directly from @clawboo/boo-avatar so consumers can derive an agent’s tint without adding a direct dependency on that package.

Functions

Components

Types & interfaces

Constants

The fonts.display / fonts.body stacks in this const are a legacy value; the running app renders Inter for both display and body via --font-display / --font-body in apps/web’s globals.css, which override this component-layer token. fonts.mono (Geist Mono) is current. See the design system.
@clawboo/web re-exports cn / cva / VariantProps from its own src/lib/utils.ts, so most app code imports them from @/lib/utils rather than directly from @clawboo/ui.

Used by

@clawboo/web (apps/web), the only consumer. BooAvatar is wrapped by AgentBooAvatar (which auto-resolves isBooZero) and used in preview surfaces (CreateTeamModal, OnboardingWizard, NativeReadyStep, marketplace cards, the welcome-screen Boo-verse). TINTS seeds the team-color palettes (lib/teamPalettes.ts, lib/resolveTeamBooColor.ts); cn/cva/VariantProps are re-exported through lib/utils.ts.

Source

packages/ui/src/index.ts (barrel) · packages/ui/src/BooAvatar.tsx · packages/ui/src/utils.ts

See also

Last modified on July 9, 2026