Place a saucepan over medium heat. Stir together the sugar and cornstarch and then pour it into the sacepan. (Add cocoa powder if making chocolate pudding).
Slowly stir in the plant-based milk. Continue to stir while bringing it to a low boil. Reduce heat slightly and simmer for 2 to 3 minutes, until thickened.
Remove the pan from the heat and stir in vanilla extract and vegan butter.
Transfer to serving dishes and refrigerate until cool.
Top with your favorite topping such as coconut whipped cream.
Notes
Sugar
You can try different sugar options, such as:
For reduced sugar pudding, reduce sugar to 1/2 cup.
For refined sugar-free pudding, substitute 1/2 cup maple syrup.
Another refined sugar alternative would be to substitute 1/2 cup pitted dates. Cook them along with the rest of the ingredients in the saucepan. Then run it all through a food processor until smooth.
For sugar-free pudding, start with 1/4 cup of your favorite zero-calorie sweetener. After the pudding cools and you can taste it, add more to taste if necessary.
Plant-Based Milk
You can use your favorite plant-based milk, such as oat milk, soy milk, almond milk, etc.