It’s recommended to keep slider sizes responsive so that they adjust to different screen sizes. However, a common practice is to make the slider’s width equal to the device’s width, and its height proportional to the width, typically around 40-60%.
This helps ensure that the slider looks good on a variety of devices and screen sizes.