SSR-safe React hooks for CSS media queries, built on useSyncExternalStore so they hydrate without mismatches and follow live changes. useMediaQuery takes any query and a server default, usePrefersReducedMotion reads the motion preference, and useBreakpoint returns the current Tailwind breakpoint. Falls back to the old listener API on older Safari. The preview shows the live breakpoint on a ruler and readouts for motion, colour scheme, contrast, hover, pointer and orientation.
Components
Components
Progress steps
FreeA stepper for multi-step flows with complete, current and upcoming states. It is horizontal in wide containers and switches to a vertical rail in narrow ones using container queries, or can be fixed to either orientation. The current step has aria-current="step", each step's state is spelled out for screen readers, and completed steps can be made clickable to go back.
Pagination bar
FreeA pagination bar with page numbers and ellipses (a fixed number of slots, so it doesn't shift as you page), previous and next buttons, a rows-per-page select that keeps the current first row in view, and a "41–60 of 312" summary announced on change. In narrow containers the numbers collapse to "Page 3 of 16" using container queries. Renders buttons, or real links when given getPageHref.
