How cosscom/ui works
This monorepo combines the coss.com website, the coss UI component library and its documentation, shared UI components, and a legacy Origin UI catalog. The main developer workflow is to browse the coss UI documentation, inspect component demos, and copy components into an application; the README describes the library as accessible, composable, and copy-paste oriented. The website also presents coss stack API examples, while Origin remains a separately available legacy catalog. Some app relationships and unsampled features are documented but their runtime wiring was not inspected, so those links are dashed.
Main entry points: app/page.tsx Coss Website · app/page.tsx UI Library Docs · app/page.tsx Origin Catalog · chat-message-bubble.tsx Chat Message Bubble
Components 23
Coss Website
- Coss Website
apps/www/app/page.tsx - Payments Guide
apps/www/app/payments/page.tsx - Calendar Guide
apps/www/app/calendar/page.tsx - Scheduling Guide
apps/www/app/scheduling/page.tsx - Video Guide
apps/www/app/video/page.tsx
UI Catalogs
- UI Library Docs
apps/ui/app/page.tsx - Particles Catalog
apps/ui/app/particles/page.tsx - Chat Preview
apps/ui/app/chat/chat-preview.tsx - Raw Component Route
apps/ui/app/api/raw/[...slug]/route.ts - Component Registry
apps/ui/registry/__index__.tsx - Chat Reply Preview
apps/ui/registry/default/chat/chat-reply-preview.tsx - Chat Message Bubble
apps/ui/registry/default/chat/chat-message-bubble.tsx
Shared UI Package
- Shared Chat Reply
packages/ui/src/chat/chat-reply-preview.tsx - Shared Chat Bubble
packages/ui/src/chat/chat-message-bubble.tsx - Context Menu
packages/ui/src/components/context-menu.tsx - Preview Card
packages/ui/src/components/preview-card.tsx
Origin Legacy
- Origin Catalog
apps/origin/app/page.tsx - Category Listing
apps/origin/app/[category]/page.tsx - Component Search
apps/origin/app/search/page.tsx - Easing Gallery
apps/origin/app/easings/page.tsx - Easing Demo
apps/origin/app/easings/easings.tsx - Origin Components
apps/origin/config/components.ts
Other components
- Developer
Connections 20
- Developer → UI Library Docs: browses docs
README.md - UI Library Docs → Component Registry: presents components
README.md - UI Library Docs → Chat Preview: shows preview
apps/ui/app/chat/chat-preview.tsx - Chat Reply Preview → Chat Message Bubble: renders
apps/ui/registry/default/chat/chat-reply-preview.tsx - Chat Message Bubble → Shared Chat Bubble: uses bubble
apps/ui/registry/default/chat/chat-message-bubble.tsx - Raw Component Route → Component Registry: serves raw source
- Developer → Coss Website: visits site
README.md - Coss Website → Payments Guide: links guide
- Coss Website → Calendar Guide: links guide
- Coss Website → Scheduling Guide: links guide
- Coss Website → Video Guide: links guide
- Developer → Particles Catalog: browses catalog
README.md - Developer → Origin Catalog: browses legacy
README.md - Origin Catalog → Category Listing: opens category
- Origin Catalog → Component Search: offers search
- Developer → Easing Gallery: copies easing
apps/origin/app/easings/page.tsx - Easing Gallery → Easing Demo: renders demo
apps/origin/app/easings/page.tsx - Category Listing → Origin Components: uses catalog
- Component Search → Origin Components: searches catalog
- Shared Chat Reply → Shared Chat Bubble: renders
packages/ui/src/chat/chat-reply-preview.tsx