4 position rotational magnetic joint
Designed this as part of an iphone holder. This version does not require any bearings. It is probably not as smooth as using bearings, but it works very well for me.
The magnets this is sized for are 8mm diameter.
A dab of glue should probably be used to keep the magnets in place.