This document defines Oak-specific standards for developers for building and reviewing components, in addition to generic best practices around semantics, accessibility, and TypeScript.

These standards apply to:

Exceptions should be explicitly called out and agreed in the PR.

Figma alignment

Figma and Oak Components should stay aligned so that designers and developers can reliably navigate between the two.

Naming alignment

Visual alignment

Behaviour & accessibility

Code standards

These are Oak-specific standards, on top of general TypeScript, semantic HTML, and accessibility best practices.

Component Documentation