Reverse breakpoint selector when using mobile-first

Currently when you click on the breakpoint selector icon, it selects the next breakpoint down the list.

But when using a mobile-first approach, you want things to go the other way.

Ie. you start with your base - sm, then make sure everything looks good on md, then move up to lg, etc.

It’d be nice if the selector behaviour changed directions depending on whether you’re using desktop or mobile-first.

So clicking the icon would move up to md instead of looping back to 2xl.

CleanShot 2024-02-05 at 15.51.16

3 Likes

Hi @sunny,

Thank you for sharing this request!

This behaviour was added in 1.4.0.1:

breakpoint-switch

Moving to done.

2 Likes