Hydrogels have revolutionized the field of soft robotics with their ability to provide dynamic and programmable responses to different stimuli, enabling the fabrication of highly adaptable and flexible robots. This continual development holds significant promise for applications in biomedical devices, active implants, and sensors due to the biocompatibility of hydrogels. Actuation in hydrogel-based soft robotics relies on variations in material properties, structural design, or a combination of both to generate desired movements and behaviors. While such traditional approaches enable hydrogel actuation, they often rely on complex material design, bringing challenges to hydrogel fabrication and hindering practical use. Therefore, this work seeks to present a simplified and versatile approach for fabricating programmable single-component hydrogel-based soft robotics using an encoded building block design concept and 3D printing. A series of structural building blocks have been designed to achieve various actuation characteristics, including the direction, degree, and kinetics of actuation. By assembling these building blocks into various configurations, a broader range of actuation responses can be encoded, allowing for the fabrication of versatile, programmable soft robotics using a single uniform material through vat photopolymerization 3D printing. This approach enables adaptation to a wide range of applications, providing highly customizable encoding designs.