Dec 4, 2025
| Component | Responsibility | Notes |
|---|---|---|
| Provider | Holds state & shared actions; defines context interface | Implementation can be local useState or global sync hook |
| Frame | Visual container for composer UI | Rendered inside provider |
| Header | Composer header UI | Simple composition unit |
| Input | Renders and updates text from context | Agnostic to state implementation |
| Footer | Renders action components and submit UI | Built via JSX; accepts custom children |
| DropZone | Handles drag-and-drop attachments | Only render when attachments enabled |
| Common Actions | Reusable group of left-side actions | Wraps individual action components |
| External Actions Row | Actions outside composer box accessing submit | Uses provider context without prop drilling |