How sikkeep/morphinui works
morphin-ui is a source registry for customizable React components, with a thin morphinui CLI that delegates installation to shadcn. The main workflow is: a developer requests components, the CLI normalizes names and invokes shadcn, and shadcn fetches registry definitions and copies component source into the target project. The registry also provides composable UI families and shared motion/sound behavior. Edges for CLI delegation and documented component dependencies follow the README; sampled source confirms selected internal helpers. Registry-serving internals were not sampled, so those links remain documentation-based.
Main entry points: button.tsx Buttons · dropdown.tsx Dropdown menus · sound.tsx Sound provider · index.ts Morphin CLI
Components 21
CLI workflow
- Morphin CLI
packages/morphinui/src/index.ts - CLI helpers
packages/morphinui/src/lib.ts
Registry components
- Component registry
Interactive UI
- Buttons
registry/morphin/ui/button.tsx - Button content
registry/morphin/ui/button-content.tsx - Dropdown menus
registry/morphin/ui/dropdown.tsx - Dropdown highlight
registry/morphin/ui/dropdown-highlight.tsx - Calendar
registry/morphin/ui/calendar.tsx - Chat UI
registry/morphin/ui/chat.tsx - Prompt input
registry/morphin/ui/prompt-input.tsx - AI chat
registry/morphin/ui/ai-chat.tsx - Data table
registry/morphin/ui/data-table.tsx - Action cards
registry/morphin/ui/action-card.tsx - Action card menu
registry/morphin/ui/action-card-menu.tsx - Toast notifications
registry/morphin/ui/toast.tsx
Shared behavior
- Motion policy
registry/morphin/lib/motion.tsx - Sound provider
registry/morphin/lib/sound.tsx - Sound player
registry/morphin/lib/sound-cuelume.ts - Class utilities
lib/utils.ts
Other components
- Developer
- shadcn CLI
Connections 23
- Developer → Morphin CLI: requests components
README.md - Developer → shadcn CLI: requests components
README.md - Morphin CLI → CLI helpers: uses helpers
packages/morphinui/src/index.ts - Morphin CLI → shadcn CLI: invokes CLI
README.md - shadcn CLI → Component registry: fetches definitions
README.md - shadcn CLI → Developer: copies source
README.md - Buttons → Button content: renders
registry/morphin/ui/button.tsx - Dropdown menus → Dropdown highlight: renders
registry/morphin/ui/dropdown.tsx - Calendar → Buttons: uses controls
registry/morphin/ui/calendar.tsx - AI chat → Chat UI: renders
registry/morphin/ui/ai-chat.tsx - AI chat → Prompt input: composes
README.md - Prompt input → Dropdown menus: renders
registry/morphin/ui/prompt-input.tsx - Data table → Dropdown menus: uses menu
registry/morphin/ui/data-table.tsx - Action card menu → Action cards: composes
registry/morphin/ui/action-card-menu.tsx - Action card menu → Dropdown menus: uses menu
registry/morphin/ui/action-card-menu.tsx - Buttons → Motion policy: reads policy
registry/morphin/ui/button.tsx - Buttons → Sound provider: plays cues
registry/morphin/ui/button.tsx - Sound provider → Sound player: delegates playback
registry/morphin/lib/sound-cuelume.ts - Buttons → Class utilities: merges classes
registry/morphin/ui/button.tsx - Toast notifications → Motion policy: uses shared motion
README.md - Toast notifications → Sound provider: uses sound cues
README.md - Action cards → Motion policy: uses shared motion
README.md - Action cards → Sound provider: uses sound cues
README.md