The significant role of biofilms in pathogenicity has spurred research into preventing their formation and promoting their disruption, resulting in overlooked opportunities to develop biofilms as a synthetic biological platform for self-assembling functional materials. Here we present Biofilm-Integrated Nanofiber Display (BIND) as a strategy for the molecular programming of the bacterial extracellular matrix material by genetically appending peptide domains to the amyloid protein CsgA, the dominant proteinaceous component in Escherichia coli biofilms. These engineered CsgA fusion proteins are successfully secreted and extracellularly self-assemble into amyloid nanofibre networks that retain the functions of the displayed peptide domains. We show the use of BIND to confer diverse artificial functions to the biofilm matrix, such as nanoparticle biotemplating, substrate adhesion, covalent immobilization of proteins or a combination thereof. BIND is a versatile nanobiotechnological platform for developing robust materials with programmable functions, demonstrating the potential of utilizing biofilms as large-scale designable biomaterials.