You can substitute avocado for butter in baked goods, 1:1 ratio, according to kitchn.com.
The baked goods that you make substituting avocado will have a shorter shelf life then once made with butter. You’ll have to eat them very soon after making them so they are at their best.
These images were found on Pinterest from assorted sources:
I did that very thing in my healthy Spicy Tea-infused Quick Bread that uses no butter, but instead mashed avocado and avocado oi
Written by Paulette L. Motzko.