How to limit total categories to show in the category slider
In the category slider, You will find an option called "Total Categories to Show" in the General Settings tab. This option will help you when you have a large number of categories in your store.
With this feature, you can specify the number of how many categories you want to show in your slider. For example, If you have 50+ categories in your store and you want to display only 10 categories in your slider then you can use this feature.
The default value of this option is "15". You can change it as per your requirement.
Screenshot - 1: (Settings configuration of Total Categories to Show)
Screenshot - 2: (Category slider with a specific number of categories)