Yesterday, I added an iOS example to Stacky - a free Figma Community file that demonstrates how you can create stacked, sticky headers in Figma.
There is also a desktop example included in the file.
Get it free on Figma Community:
https://www.figma.com/community/file/1472264872307024353/stacky-stacked-sticky-headers