Originally, I have planned to use magnets only to hold the phone, but magsafe turned out to be way too weak for any bike application. So I utilized the magnet I already had to act as a latch, for secure fit.
The design utilizes adaptive concept, for different stem lengths and preffered holder position. Just connect the mounting adapter to the holder in 10mm steps, using 4x10mm countersunk screws. You can either drive the screws directly (not recommended), glue them in or use inserts.
As for printing, I recommend positioning the holder upright, for more rigidity. Unfortunately supports are required. The adapter prints on the side. Recommended 0,2mm layer, infill not as important as number of perimeters.
Connect to your bike with 5mm wide zipties.
Magnets:
https://pl.aliexpress.com/item/1005006337022296.html
The author marked this model as their own original creation.