Tags SwiftUI - admiral-team/admiralui-ios GitHub Wiki
Struct
A view that marks and catalogs information to facilitate the search process.
Declaration
public struct TagControl: View
Live example
Overview
The Chips and Tags component groups allow users to quickly enter information, make selections, filter content, or trigger actions. A group of such components should be displayed sequentially, and the content of each component should be short with a clear call to action, which can be supported by an additional graphic element (icon) or emoji.
Configure a Tag Control
TagControl(
title: "Title",
tagStyle: .attention,
leadingView: {
Image(uiImage: "Your image")
},
tapTagControl: {}
)
Contribution
You can help us to find bugs or ask us to add features.
- To start
issue
please use ready-made templates. - To make changes to the repository, you need to create a
fork
of the project, make changes to the code and create apull request
in our project. You can read more about this in the Github documentation.