Home/Docs/smooth scroll

smooth scroll

Learn how to use the smooth scroll component in your project.

Preview

Component preview

Installation

Terminal
npm install @react-overflow/smooth-scroll

Usage

component.tsx
import { SmoothScroll } from '@react-overflow/smooth-scroll';

export default function Example() {
  return <SmoothScroll />
}

Props

PropTypeDefaultDescription
classNamestring-Additional CSS classes
childrenReactNode-Component children
variant"default" | "outline""default"Visual variant of the component
React Overflow - Premium React Components