Skip to content
Outlined Tags preview
Rendered from the SwiftUI source on this page.

Outlined Tags

From syxUI — written for both platforms, not translated between them.

Outlined filter tags.

Badges · SwiftUI · iOS 17

  • badges
  • swiftui

The actual source

OutlinedTags.swift
// Outlined Tags · syxUI · https://syxui.dev/components/tag-outlined
// Free in any project. Keep this line and credit syxUI where a person can read it.

import SwiftUI

struct OutlinedTags: View { var body: some View { HStack(spacing: 8) { ForEach(["Popular", "New", "Trending"], id: \.self) { t in Text(t).font(.system(size: 13, weight: .medium)).padding(.horizontal, 12).padding(.vertical, 6).overlay(Capsule().stroke(Color.primary.opacity(0.2), lineWidth: 1)) } } } }
iOS 17 · No dependencies

Dependencies

SwiftUI
No external dependencies

Requires iOS 17