An additive manufacturing strategy for processing UV-crosslinkable hydrogels has been developed. This strategy allows for the layer-by-layer assembly of microfabricated hydrogel structures as well as the assembly of independent components, yielding integrated devices containing moving components that are responsive to magnetic actuation.