Start by mashing the ripe bananas in a large mixing bowl until smooth. Measure out the peanut butter, honey (or maple syrup), and vanilla extract.
If you’re using nuts or chocolate chips, chop or measure them as needed.
Add the peanut butter, honey (or maple syrup), and vanilla extract to the mashed bananas. Stir well until the mixture becomes smooth and evenly combined.
Next, incorporate the rolled oats, ground flaxseed (if using), and a pinch of salt into the wet mixture. Stir thoroughly to ensure the oats are fully coated and the ingredients are evenly distributed.
If you’re using chopped nuts, chocolate chips, or dried fruit, fold them into the mixture at this stage.
Line an 8×8-inch baking dish with parchment paper, leaving some overhang on the sides for easy removal.
Transfer the mixture to the prepared dish and use a spatula or your hands to press it down firmly and evenly. Compact the mixture well to ensure the bars hold their shape once cut.
Place the dish in the refrigerator for at least 2 hours, or until the mixture is firm and set.
Once the mixture has set, lift the parchment paper to remove it from the dish. Place it on a cutting board and slice it into bars or squares of your desired size.