Sébastien Rigaux

Detent for React: precise, inertial wheel pickers

View resource

detent.hayder.sh

Detent provides a React wheel picker with inertia and precise snapping to a row, in either vertical or horizontal layouts. The ready-to-use component and headless hook share the same interactions and accessibility features, letting teams either add a picker to an existing interface or control its rendering directly.

The library also includes animated text and number components. It has no runtime dependencies beyond React and React DOM; the page notes that its API is in pre-release and may change before 1.0.

Detent graphic: the word “clicks” in orange within “It clicks into place,” with the caption “A wheel picker for React.”