Theme Playground

Storefront

ScrollSnapRail

Autogenerated reference for ScrollSnapRail. This page is derived from source metadata and lists inferred props, but it still needs authored guidance and examples.

Import

import { ScrollSnapRail } from "@enadhq/enad-react-sdk/client/storefront"

Autogenerated reference

This page was generated from source metadata so the component is searchable and has a prop table, but it still needs authored guidance, examples, and design notes.

Slots

rootviewportitempaginationcontrols

Props

PropTypeDefaultDescription
activeIndexnumber
No description yet.
indexnumber
No description yet.
defaultIndexnumber0
No description yet.
onIndexChangestring
No description yet.
classNamestring
No description yet.
classNamesScrollSnapRailClassNames
No description yet.
Slot keys
rootviewportitempaginationcontrols
containWheelbooleantrue
No description yet.
dataSlotstringscroll-snap-rail
No description yet.
itemDataSlotstringscroll-snap-rail-item
No description yet.
renderControlsstring
No description yet.
renderPaginationstring
No description yet.