M
mebius
useChartMotioncharts-use-chart-motionanime.js helpers for the charts: a scope bound to the chart's root (reverted on unmount), the reduced-motion preference, an entrance that plays once the chart scrolls into view, useInView (whether the chart is on screen, to pause ambient loops), useCountUp (numbers that count to new values) and releaseStyles (hands an element back to its classes).
useChartSizecharts-use-chart-sizeAn element's content-box size from a ResizeObserver (callback ref + size, starting at the design size), so line charts draw their paths at the width they get.
useControllableStatecharts-use-controllable-stateState a parent can control (value + onChange) or leave to the component (defaultValue); used by the segmented control, the tabs and the chart cards.
useControllableStateforms-pro-use-controllable-stateState a parent can control (value + onChange) or leave to the component (defaultValue); used by the form blocks' segmented controls, steppers and pickers.
useFormMotionforms-pro-use-form-motionanime.js helpers for the form blocks: the reduced-motion preference, an entrance that plays once the form scrolls into view (its first frame applied before paint), useAnimeScope (animations reverted on unmount), useInView (to pause ambient loops off screen), useCountUp (numbers that count to new values), shake (an invalid submit) and releaseStyles (hands an element back to its classes).
useFormSubmitforms-pro-use-form-submitThe submit status every form block shows (idle, submitting, success): runs your onSubmit, waits for it when it returns a promise, and goes back to idle when it throws.
useControllableStateforms-use-controllable-stateState a parent can control (value + onChange) or leave to the component (defaultValue); used by the form blocks' segmented controls, steppers and pickers.
useFormMotionforms-use-form-motionanime.js helpers for the form blocks: the reduced-motion preference, an entrance that plays once the form scrolls into view (its first frame applied before paint), useAnimeScope (animations reverted on unmount), useInView (to pause ambient loops off screen), useCountUp (numbers that count to new values), shake (an invalid submit) and releaseStyles (hands an element back to its classes).
useFormSubmitforms-use-form-submitThe submit status every form block shows (idle, submitting, success): runs your onSubmit, waits for it when it returns a promise, and goes back to idle when it throws.