Skip to content

Creating a simple selectable tag view in SwiftUI is quite a challenge. here is a simple & elegant example of it.

License

Notifications You must be signed in to change notification settings

HappyIosDeveloper/SwiftUI-TagView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

SwiftUI TagView

Creating a simple selectable tag view in SwiftUI is quite a challenge. here is a simple & elegant example of it.

Output Example

Usage:

Just copy the TagView.swift file in your project & write your tags like so:

TagView(tags: [TagViewItem(title: "cat", isSelected: false), TagViewItem(title: "dog", isSelected: true)])

About

Creating a simple selectable tag view in SwiftUI is quite a challenge. here is a simple & elegant example of it.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages