SearchField

69916b4c-ca3e-40c4-bea7-6e5261dac53c

SearchField is a GitHub-like search field for SwiftUI. You can define qualifiers/keywords which are then annotated while searching.

Usage

SearchField("? Search", text: $query)
    .textFieldStyle(RoundedBorderTextFieldStyle())
    .frame(width: 250)
    .qualifier("lang")
    .qualifier("author")

Author

I’m Laurin Brandner, I’m on Twitter and Mastodon.

License

SearchField is licensed under the MIT License.

GitHub

View Github