Scroller
The Scroller component is designed to create scrollable containers with smooth gradient indicators. These gradients dynamically appear at the edges of the container when there is overflow content, providing a visual cue to users that the content is scrollable.
Usage
First of all, you need to import the Scroller
component from the kitchn
package.
import { Scroller } from "kitchn"
Vertical
Horizontal
Free
Props
Name | Type | Default | Required | Description |
---|---|---|---|---|
children | React.ReactNode | null | Yes | The content to be displayed inside the scrollable container. |