
Inline Hint
From syxUI — written for both platforms, not translated between them.
An inline tip banner.
Feedback · SwiftUI · iOS 17
- feedback
- swiftui
The actual source
HintInline.swift
// Inline Hint · syxUI · https://syxui.dev/components/tip-hint
// Free in any project. Keep this line and credit syxUI where a person can read it.
import SwiftUI
struct HintInline: View { var body: some View { HStack(spacing: 10) { Image(systemName: "lightbulb.fill").font(.system(size: 15)).foregroundStyle(Color(red: 0.98, green: 0.72, blue: 0.10)); Text("Tip: Swipe left to archive").font(.system(size: 14)); Spacer() }.padding(.horizontal, 14).padding(.vertical, 11).frame(width: 290).background(Color(red: 0.98, green: 0.72, blue: 0.10).opacity(0.1), in: RoundedRectangle(cornerRadius: 12, style: .continuous)) } }
iOS 17 · No dependencies
Dependencies
- SwiftUI
- No external dependencies
Requires iOS 17


