Melt the butter: Place the vegan butter in a large saucepan or pot over medium heat and allow it to melt completely.
Add the flour: Add the all-purpose flour and stir vigorously until it is thoroughly incorporated into the melted butter.
Prepare the white sauce: Pour in the coconut milk and vegetable stock. Whisk continuously to remove any lumps.
Thicken the sauce: Continue whisking until the mixture reaches a boil. Keep whisking for a few additional minutes until the sauce has thickened considerably. Remove it from the heat. The sauce will thicken further as it cools.
Season the sauce: Add the Dijon mustard, nutritional yeast, onion powder, garlic powder, smoked paprika, salt, and black pepper. Whisk until evenly combined.
Cook the macaroni: Prepare the elbow macaroni according to the package directions. Rinse and drain thoroughly.
Combine: Add the cooked macaroni to the sauce and toss until all the pasta is evenly coated.
Transfer to the baking dish: Spread the macaroni mixture evenly in a 9 × 13-inch baking dish.
Preheat the oven: Set the oven to 400°F (200°C).
Make the breadcrumbs: Break the three slices of toasted white bread into smaller pieces. Place them in a blender and pulse until they form breadcrumbs.
Butter the crumbs: Transfer the breadcrumbs to a mixing bowl. Add the melted vegan butter and toss until evenly coated. If using panko, use one cup instead of homemade breadcrumbs.
Top the casserole: Distribute the prepared breadcrumbs evenly over the macaroni mixture.
Bake: Place the dish in the preheated oven and bake for 20 minutes, until the breadcrumb topping is golden brown and crispy.
Serve: Remove from the oven and serve while warm.