Reddit user mememetatata decided to make a bed that floats on magnets. Here is the whole process in 8 easy steps.
Build the frame
"Fits a twin sized mattress. It's 74 inches long and 38 inches wide."
Source: i.imgur.com
Another angle
Source: i.imgur.com
Put in the slats that will keep the magnets in place
Source: i.imgur.com
Put the magnets in and close it up
Source: i.imgur.com