Stair Case Transition
Watch as the page transition is in action. If you haven't seen it, reload the page.
Installation
Install Dependencies
Copy and Paste the component
@/components/reframe-ui/stair-case-transition.tsx
Usage
Props
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| children | React.ReactNode | - | Yes | The content to be transitioned. |
| bars | number | 5 | No | The number of bars to use. |
| durationMs | number | 2000 | No | The duration of the transition in milliseconds. |
| ease | gsap.EaseFunction | string | power4.inOut | No | The easing function to use. |
| staggerEach | number | 0.2 | No | The stagger delay between each bar. |
© Copyright 2025. All rights reserved.Built by @thommysart