Viscoelastic polyurethane foam
Viscoelastic polyurethane foam was a material used by Starfleet in the 23rd century. Aboard their starships, mattresses, and pillows were made of this material. 

Cadet Sylvia Tilly was allergic to viscoelastic polyurethane foam. Her allergic response resulted in chronic snoring. ()

External link 
 
Materials