What does the term napoleon mean in cooking?

A Napoleon in cooking refers to a layered dessert typically made with puff pastry, pastry cream, and fruit, resembling the iconic hat worn by Napoleon Bonaparte. The dessert features alternating layers of flaky puff pastry and creamy pastry cream, often flavoured with vanilla or chocolate, and is topped with fresh fruit slices or glazed fruits such as strawberries, bananas, or peaches. The layers are baked together to create a visually impressive dessert that combines crisp pastry, creamy filling, and sweet fruit flavours. Napoleons are popular in various countries and are known by different names such as mille-feuilles, millefoglie, or cream slices, but they share the common characteristic of stacked layers that evoke Napoleon's famous hat.