Gamut Component-First
Before writing a new component, control, or interactive pattern from scratch, check whether @codecademy/gamut already provides it. Building a parallel bespoke version costs more than the one-time effort: it silently bypasses ColorMode/dark-mode support, the variance/system-props styling model, the focus-trap and dismiss conventions, and the accessibility work already done in the library — and it has to be independently maintained forever after.
Source: packages/gamut/src/* (component export surface). See also: