Typically, your shower door will be between 22” wide and 36”. The main consideration when choosing the width of your shower door is the weight your hinges and wall will bear. Make sure to reference local codes as they will usually give guidance on the minimum width the door should be.
There are options to choose from if your door is wider than 36” such as a door and panel and inline.