I have carousel when max dots that can be shown are 6so when there are more slides than the limit, last dot should be smalleras swipe to 6th 7th dot should be shown with less pixels than other 6and as swipe to 8th one, dots at the start should be shown in less pixels than otherjust like instagram posts
I'll create a carousel with Instagram-style dot indicators that show a maximum of 6 dots with size variations for overflow indicators.
This carousel implementation features:
The dot indicator logic works like this:
You can customize the maxVisibleDots
prop to change how many dots are shown at once. The carousel is fully responsive and works on both desktop and mobile devices.