The Working Approach
Component Spec defines a single design-system component. It organizes the handoff around anatomy, variants, API properties, interaction states, responsive behavior, accessibility, and usage. Required and optional parts are made explicit.
Its purpose is agreement between designers and developers. A button's loading behavior or a dialog's focus return is not captured by a static screenshot. The source therefore asks for examples and edge cases, while keeping broader documentation templates and multi-component patterns outside this task.
Expected Deliverables
- An anatomy and variant specification
- A props table with types, defaults, and required status
- State, behavior, accessibility, and usage rules
From Brief to Review
- 01Set the Component Boundary
Define its purpose, when to use it, and required versus optional parts.
- 02Specify API and States
Name properties and variants, then describe default, focus, disabled, loading, and relevant error behavior.
- 03Resolve Interaction Details
Document keyboard, focus, responsive, and edge-case behavior with examples that implementation can check.