Preheat your oven to 350°F (175°C) and prepare an 8x8 inch baking pan by greasing it or lining it with parchment paper.
In a large bowl, whisk together flour, sugar, baking powder, cinnamon, and a pinch of salt.
In another bowl, beat eggs and oil until well combined. Stir in grated carrots.
Pour the wet mixture into the dry ingredients and mix gently until just combined.
Transfer batter to the prepared pan and bake for 25-30 minutes or until a toothpick inserted in the center comes out clean.
For the frosting: Beat cream cheese and butter together until creamy. Gradually add powdered sugar until desired sweetness is reached.
Allow bars to cool before frosting generously.