All components
Scroll effectsv1.0.0

Scroll Portal

Travel through nested frames as you scroll. Adjust depth, perspective, timing, borders and dimming to shape the transition.

Scroll inside the preview or use arrow keys to move through the frames.

Download ZIP Open demo

Use it on your website

Your selected settings are already included.

  1. Copy the embed

    Use the button below.

  2. Paste into your page

    Add it to an HTML or embed block.

  3. Publish and play

    Your visual is ready to interact with.

HTML embed
<script src="https://kraft.team/components/assets/scroll-portal/1.0.0/component.js" defer></script>
<scroll-portal frame-depth="1" perspective="1000" scroll-length="1" frame-radius="16" frame-border="1" scrub="0.35" hold="0" dim="0.55"></scroll-portal>

Adjust the playground above to update your embed. Add the script once, then use the element wherever you want the visual.