Build Habits Slowly solves this problem by displaying your habit progress in a scrolling calendar "feed." When a new month starts, you still see the days in the previous month(s).
This is an excerpt from the article, I recommend reading the article if you are interested in habit formation (Build Habits Slowly is not affiliated with Atomic Habits or James Clear, I just found this article informative).
Build Habits Slowly solves this problem by giving you the power to decide how many "slip days" you want to give yourself before your streak breaks.
I found that when I started a new month it was harder for me to continue a habit, because the new month no longer showed all of my habit completion days from the previous month.
Build Habits Slowly is a habit tracker that empowers you to take control of your habits.