This is a Z axis for the joystick gimbal made by Olukelo (https://www.thingiverse.com/thing:2496028). It's made to fit the AS5600 magnetic encoder, but can be easily modded to fit a potentiometer.
The magnet holder is made to fit the top of an M5 screw and must be modified if your magnet is diametrically polarized (mine is not, seller error). You also must mod the stands for the encoder to lower it.
BOM: M5x30 screw, mine has a neck, but it is not necessary M5 nut 2x 5x11x5 (S685) bearing some 2mm pins (the length must be eyeballed) Rubberband AS5600 circular magnet