āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā ā š shadcn/directory/imskyleen/animate-ui/primitives/animate/scroll-progress ā āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā
<ScrollProgressProvider global>
<ScrollProgress />
</ScrollProgressProvider>
<ScrollProgressProvider>
<ScrollProgress />
<ScrollProgressContainer>Scrollable content</ScrollProgressContainer>
</ScrollProgressProvider>
<TypeTable type={{ children: { description: 'The children of the ScrollProgressProvider', type: 'React.ReactNode', required: true, }, global: { description: 'Whether the progress is on the global scroll', type: 'boolean', required: false, default: 'false', }, direction: { description: 'The direction of the ScrollProgress', type: '"horizontal" | "vertical"', required: false, default: 'vertical', }, transition: { description: 'The transition of the ScrollProgress', type: 'SpringOptions', required: false, default: '{ stiffness: 250, damping: 40, bounce: 0 }', }, }} />
<TypeTable type={{ asChild: { description: 'Change the default rendered element for the one passed as a child, merging their props and behavior.', type: 'boolean', required: false, default: 'false', }, mode: { description: 'The mode of the ScrollProgress', type: '"width" | "height" | "scaleY" | "scaleX"', required: false, default: 'width', }, '...props': { description: 'The props of the ScrollProgress', type: 'HTMLMotionProps<"div">', required: false, }, }} />
<TypeTable type={{ asChild: { description: 'Change the default rendered element for the one passed as a child, merging their props and behavior.', type: 'boolean', required: false, default: 'false', }, '...props': { description: 'The props of the ScrollProgressContainer', type: 'HTMLMotionProps<"div">', required: false, }, }} />
ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā