
Tech Tags
From syxUI — written for both platforms, not translated between them.
Technology / version tags.
Badges · SwiftUI · iOS 17
- badges
- swiftui
The actual source
TechTags.swift
// Tech Tags · syxUI · https://syxui.dev/components/tag-tech
// Free in any project. Keep this line and credit syxUI where a person can read it.
import SwiftUI
let tgBlue = Color(red: 0.0, green: 0.47, blue: 1.0)
let tgOrange = Color(red: 0.98, green: 0.55, blue: 0.10)
let tgGray = Color(red: 0.55, green: 0.56, blue: 0.60)
func tagPill(_ text: String, _ color: Color) -> some View {
Text(text).font(.system(size: 13, weight: .semibold)).foregroundStyle(color).padding(.horizontal, 12).padding(.vertical, 6).background(color.opacity(0.14), in: Capsule())
}
struct TechTags: View { var body: some View { HStack(spacing: 8) { tagPill("Swift", tgOrange); tagPill("SwiftUI", tgBlue); tagPill("iOS 17+", tgGray) } } }
iOS 17 · No dependencies
Dependencies
- SwiftUI
- No external dependencies
Requires iOS 17

