Toppings — click to add or remove (bun is always there)
Director presets:
Your burger
layers: 2 (bun ×2)
Generated code
BUILDER WAY

      
Build a burger, step by step
Click a topping to add it. Two things move together: a layer drops into the burger and a named line appears in the code — like .addCheese() — always above the final .build(). Then flip to the ⚙ Constructor way to see the same burger as one confusing row of booleans.
Each step is named and optional. Skip a topping by not calling its method; the chain always ends with .build(), which hands back the finished burger.