I made a double batch of cupcakes this week. I made the frosting yesterday and had a lot left over - probably enough for another batch of cupcakes.
The recipe is a “swiss meringue buttercream”, which means you take egg whites and sugar, and cook them for a couple of minutes over boiling water, before pouring into the stand mixer’s bowl and beating them until fluffy and mostly cooled (then you add in the butter and flavorings).
Not having any immediate plans to make more cakes, I scraped it all into a zipper bag and froze it. Will it still be usable? It was in the fridge for a bit before that and it seemed to be pretty solid at that point (well, the texture of refrigerated butter).