Skip to content

Component Doc Template

Copy this template for every reusable component under docs/components/**.


  • Name: ComponentName
  • Used in: (link to routes)
  • Ownership: UI / Domain / Shared

TBD


  • Inputs: TBD
  • Outputs (events/callbacks): TBD
  • Side effects: TBD

TBD


  • Default: TBD
  • Loading: TBD
  • Empty: TBD
  • Error: TBD
  • Disabled: TBD

  • Keyboard navigation
  • Focus management
  • ARIA labels
  • Color contrast

Security & privacy considerations (if applicable)

Section titled “Security & privacy considerations (if applicable)”
  • PII exposure risks
  • Permission/role gating
  • Data minimization

  • Event names + payloads

  • Domain refs: docs/domains/...
  • API refs: (if any)
  • Shared UI refs: (if any)
  • Workflow refs: docs/workflows/... (if any)
  • Prompt / AI refs: docs/prompts/... or docs/ai-governance/... (if any)