To choose the type of door opening, you need to define the dimensions of the available access space.
If the door slides behind a fixed side, it will be a sliding door: this solution is particularly suitable when there are external obstructions, such as furniture or toilets, which can hinder access to the shower, but it's also very practical because, once open, it doesn't drip onto the floor.
In cluttered or small bathrooms, we generally opt for a folding door which, once open, folds away without dripping to the outside.
If space is not an issue, then you can opt for a swing door, which is wide and has a great aesthetic impact on the ambience of the room.