Project

General

Profile

Contributing a component » History » Version 1

Mara Oyelaran, 06/28/2026 03:18 PM

1 1 Mara Oyelaran
# Contributing a component
2
3
A component enters the library when it has been used twice in a product and the second use did not
4
need to fork it. Until then it lives in the product.
5
6
What a new component needs: a keyboard interaction table, states for hover, focus, active, disabled
7
and loading, a dark-theme pass, a reduced-motion variant if it animates, and a story for each state.
8
A component without a focus style will not be merged.
9
10
Breaking changes are allowed only on a major version and must carry a migration note and, where the
11
change is mechanical, a codemod.