Docs
Feature Scroll Section

Feature Scroll Section

This component is used to build the scroll feature section of the website.

The ScrollFeatureContainer component accepts the following props:

Prop NameTypeRequiredDescription
direction"ltr" or "rtl"YesDetermines the layout direction of the scroll feature. "ltr" stands for left-to-right, and "rtl" stands for right-to-left.
imageSrcstringYesThe source URL of the image to be displayed within the scroll feature.
childrenReact.ReactNodeYesThe content to be rendered inside the scroll feature container.
topPositionstring (optional)NoSpecifies the top position for the sticky content. Defaults to "53%" if not provided.

Default Values

  • topPosition: If not specified, defaults to "50%".