Write apps/web/docs/components-ui.md for src/components/ui/: Avatar, Badge, CopyButton, EmptyState, Modal, ProposalCard, SkeletonLoader, Spinner. These are the shared primitives every feature area builds on, and there is no reference for their props or intended use.
Acceptance criteria:
- Each component documented with its props (name, type, required, default) and a usage example
- Notes accessibility behaviour already built in — focus handling and dismissal for
Modal, the clipboard feedback state for CopyButton
- Documents which components are presentational versus stateful
- Notes which have test coverage today
Write
apps/web/docs/components-ui.mdforsrc/components/ui/:Avatar,Badge,CopyButton,EmptyState,Modal,ProposalCard,SkeletonLoader,Spinner. These are the shared primitives every feature area builds on, and there is no reference for their props or intended use.Acceptance criteria:
Modal, the clipboard feedback state forCopyButton