Slice potatoes thinly.
Julienne the onion.
Season potatoes and onion with salt and pepper.
Melt butter in a pan.
Sauté potatoes and onion in the pan.
Place potatoes and onion in an oven-safe dish.
Pour milk and heavy cream over the vegetables.
Add mozzarella cheese on top.
Bake in a preheated oven at 180°C for 20 minutes.