UI
← Home

Coordinate Canvas

A pan/zoom viewport with content-space coordinate mapping. A marker lives at fixed content coordinates; focus the viewport and press `+`/`-` to zoom or the arrow keys to pan. The marker's content coordinate never changes while its rendered size scales with the zoom and its rendered position translates with the pan.

  • Axe
  • Focus

Preview

100%

Installation

npx shadcn@latest add https://ui.publictheta.com/r/coordinate-canvas.json

Conformance

Verified against the @publictheta/ui-spec coordinate-canvas specification on both the React and vanilla reference implementations, across Chromium, Firefox, and WebKit.

  • Axe No WCAG 2 A/AA axe-core violations
  • Focus A visible focus indicator appears on keyboard focus (WCAG 2.4.7)

See the full conformance matrix across all components.