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 functionExample() {return<SmoothScroll/>}
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | - | Additional CSS classes |
| children | ReactNode | - | Component children |
| variant | "default" | "outline" | "default" | Visual variant of the component |