royal icing is a sweet, hard icing made from powdered sugar, egg whites or meringue powder, and flavorings like vanilla or a squeeze of lemon juice. it is used to decorate sugar cookies and gingerbread houses.