Complementary π-π interactions induce multicomponent coassembly into functional fibrils.