There is no Federal Law governing modular homes but there are federal HUD(Housing and Urban Development) regulations for the mobile home industry.
The modular homes are regulated by the State building code requirements regarding safety, energy efficiency, snow load requirements for the roof, wind speed in certain areas, load requirements for the floors, etc.