React Scroll Expand Hero – Interactive UI Component
3D perspective-tilted product showcase hero that smoothly expands and flattens on springs as you scroll or scrub the expansion control. Customize colours, shadows, and Playful, Minimal, or Mono styles. Copy React & Flutter code or install via CLI.
Your whole support queue at a glance
Replies, ratings and backlog in one live view for everyone on the team.
Your whole support queue at a glance
Replies, ratings and backlog in one live view for everyone on the team.
Live vector preview rendered straight from the same 120 Hz spring engine—no heavy GIF compression artifacts, zero layout shift.
Customization playground
Tune outline, fill, accent, text colour, and shadow direction live above. The snippet updates automatically for copy-and-paste.
Customize
<ScrollExpandHero />Installation
Install directly into your project source with the Kipluo CLI (React/Tailwind v4) or add the matching Flutter package.
Install
$ npx kipluo add scroll-expand-heroWorking code example
import { ScrollExpandHero } from "@/components/kipluo/scroll-expand-hero";
export function Example() {
return (
<div className="flex items-center justify-center p-8">
<ScrollExpandHero />
</div>
);
}What Scroll Expand Hero does
- 3D perspective-tilted product showcase hero that smoothly expands and flattens on springs as you scroll or scrub the expansion control.
- Designed for Onboarding, Dashboards flows with real spring physics that stay smooth even when users interrupt or spam interactions.
- Ships with Playful, Minimal, and Mono themes, synthesized Web Audio feedback (optional via sound={false}), and automatic prefers-reduced-motion support.
Accessibility & sound behavior
Keyboard & screen readers: Focus the stage and press Enter/Space to toggle, or use the range slider.
Reduced motion: Automatically respects prefers-reduced-motion: reduce by snapping spring targets immediately without jarring travel.
Sound cues: An airy whoosh when expanding the 3D stage and a swish when tilting back. Disable per instance with sound={false} or globally via setSoundEnabled(false).
API reference
title / subtitlestring- Hero heading and description. Default
"Your whole support queue at a glance". defaultProgressnumber- Initial stage expansion from 0 to 1. Default
0.15. style"playful" | "minimal" | "mono"- Set with data-kstyle on any ancestor. Default
inherited. soundboolean- Plays this component's sounds. The global switch setSoundEnabled(false) silences every component. Default
true.
Framework compatibility
| Platform / Tool | Status | Details |
|---|---|---|
| React 18 & 19 | Full support | Zero peer runtime lock-in beyond @kipluo/core. |
| Next.js App Router | Full support | Ships with 'use client' boundaries; SSR-safe hydration. |
| Vite / Remix / Astro | Full support | Standard ESM TypeScript source files you own. |
| Tailwind CSS v4 & shadcn/ui | Native | Inherits CSS variables and installs via shadcn registry or CLI. |
| Flutter (Dart) | Native package | Matching spring physics, themes, and PCM audio in packages/flutter/kipluo. |
Build it yourself: related tutorials
All tutorials →How to Build a Magnetic Button in React
Step-by-step guide to building a smooth, interruptible magnetic button in React using Pointer Events, requestAnimationFrame, and a lightweight spring integrator.
How to Create a Scroll-Driven Animation
Learn modern CSS animation-timeline: scroll() and view() alongside a zero-jank passive scroll + requestAnimationFrame fallback in React.
How to Implement Spring Physics Without a Heavy Animation Library
Write a rock-solid 45-line semi-implicit Euler spring engine in TypeScript with fixed 120 Hz sub-stepping, zero dependencies, and true velocity preservation.
Related components
- Open component →Interactive Dashboard HeroPaid
Developer SaaS hero framing a live clickable mini KPI dashboard whose spring bars and telemetry metrics animate seamlessly between modes.
- Open component →Editorial Split HeroFree
Editorial sans + italic-serif split hero with inline email waitlist capture (spring shake on invalid, chime on submit), social proof avatars, and a 3D-tilting preview card.
- Open component →Shader Horizon HeroFree
Atmospheric cosmic horizon hero with a curved glowing planetary rim, announcement badge, magnetic spring primary CTA, and partner logo strip.
- Open component →Card Fan HeroPaid
Centered editorial hero anchored by an interactive 3-card fanned spread that widens smoothly on hover and cycles the active card forward on click or arrows.
- Open component →Pull Chain ToggleFree
A lamp switch you actually pull. Drag the bead past the click point and let go: the chain recoils on a spring, swings like a pendulum and the light flips. Short pulls snap back without toggling.
- Open component →Spotlight Bento CardFree
Interactive bento tile with a spring-lagged radial spotlight glow tracking your pointer, subtle 3D parallax layers and press depth squash.