
Navigation Row
From syxUI — written for both platforms, not translated between them.
A plain tappable row with a disclosure chevron.
Cards · SwiftUI · iOS 17
- cards
- swiftui
The actual source
PlainNavRow.swift
// Navigation Row · syxUI · https://syxui.dev/components/list-nav
// Free in any project. Keep this line and credit syxUI where a person can read it.
import SwiftUI
extension View {
func formaCard(_ pad: CGFloat = 18) -> some View {
self.padding(pad)
.background(Color(.systemBackground), in: RoundedRectangle(cornerRadius: 20, style: .continuous))
.overlay(RoundedRectangle(cornerRadius: 20, style: .continuous).stroke(Color.primary.opacity(0.06), lineWidth: 1))
.shadow(color: .black.opacity(0.05), radius: 14, x: 0, y: 6)
}
}
// Plain navigation row
struct PlainNavRow: View {
var body: some View {
HStack { Text("Privacy Policy").font(.system(size: 16)); Spacer(); Image(systemName: "chevron.right").font(.system(size: 13, weight: .semibold)).foregroundStyle(.secondary.opacity(0.5)) }.formaCard(16).frame(width: 320)
}
}
iOS 17 · No dependencies
Dependencies
- SwiftUI
- No external dependencies
Requires iOS 17


