The present invention relates to the use of peptides, peptoids and/or peptidomimetics capable of self-assembling and forming a (nanofibrous) hydrogel in biofabrication. The present invention further relates to methods for preparing hydrogels and to methods for preparing continuous fibres and to methods for obtaining multi-cellular constructs with defined, precise geometrics. The present invention further relates to various uses of such hydrogels for obtaining mini-hydrogel arrays and 3D organoid structures or 3D macromolecular biological constructs.