Help replicate a floating segmented picker

Hi all!

I would like to create a floating segmented picker/control that will be fixed closer to the bottom of the screen.

This is the best readymag website reference that I found for this feature and I would love some advice on how to recreate it → https://ohm.studio/

here’s another reference in mobile view (not a readymag website) Official Maison Margiela Boutique | Clothing, Shoes & Accessories
Screenshot 2023-03-28 at 2.12.00 pm

Any help in the right direction would be really appreciated!
Thanks!