Danny Behar @dbehar.com ยท Apr 21

Need to toggle between iconOnly and titleAndIcon label styles in SwiftUI? You can create your own custom LabelStyle and add some fun transition animations :D code below ๐Ÿ‘‡

6 likes 1 replies

?

Replies

Danny Behar ยท Apr 21

The custom label style which takes in a isExpanded boolean and transitions with a matched geometry effect alongside an opacity and scale transition. You can customize this any way you want!