Based on the blog post Neumorphism in user interfaces
The first button has only the Neumorphic style, but keeps the normal behaviour of a button when tapped.
The Neumorphic Selectable ButtonStyle will keep the state once selected. It is constructed to toggle its colors in order to achieve a good affordance and feedback.
The Neumorphic Tappable ButtonStyle only flashes the color toggling. Also designed with affordance and feedback in mind.
Build using Xcode 11.5
If you don't see them, you will find them on the images folder.
Light | Dark |
---|---|