Centered Hero Carousel

Build a horizontally scrollable "hero carousel" where a big center card continuously morphs its width into different-size rectangles as it scrolls (the Material 3 / music-app "Quick Picks" effect). Explains why it is a pager with clipping + translation (not resizing), then gives three clearly-labeled fidelity tiers - exact Material replication, a faithful custom keyline implementation (no experimental API), and a scale-based approximation. Includes the real keyline interpolation math and cross-framework porting notes. Use when implementing hero carousels, morphing/expanding cards, centered featured-card rows, "big card shrinks as it scrolls", or cover-flow-style pager UIs.

shubh72010 3db5eca 19.4 KB Updated

File contents

shubh72010/skills-by-JusDots-Devs/tree/main/skills/centered-hero-carousel commit 3db5eca835

Frequently asked questions

npx skillmds@latest add shubh72010/centered-hero-carousel