Put one full-view section in each item.
The sample also uses Image. One command adds them with this item:
lakes-guide.tsx
SectionStack
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| container | RefObject<HTMLElement | null> | — | The scroll box, when the item scrolls inside one and not with the page. |
| shrink | number | 0.08 | How much smaller an item gets when the next one covers it: 0.08 is 8%. Default 0.08. |
| dim | boolean | true | An item dims as the next one covers it. Default true. |
| disabled | boolean | false | Plain sections in the flow: no pin, no shrink, no dim, and no scroll work. |
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
SectionStackItem
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| children | ReactNode | — | |
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
| Tab | A focus in a section that is not in place scrolls the page to that section. |
|---|
Built with
Installs with Section Stack
- Components
- Parallax











