
Light Tooltip
From syxUI — written for both platforms, not translated between them.
A light tooltip with a border.
Feedback · SwiftUI · iOS 17
- feedback
- swiftui
The actual source
TooltipLight.swift
// Light Tooltip · syxUI · https://syxui.dev/components/tip-light
// Free in any project. Keep this line and credit syxUI where a person can read it.
import SwiftUI
struct TooltipLight: View { var body: some View { VStack(spacing: -2) { Text("Drag to reorder").font(.system(size: 13, weight: .medium)).padding(.horizontal, 12).padding(.vertical, 9).background(Color(.systemBackground), in: RoundedRectangle(cornerRadius: 10)).overlay(RoundedRectangle(cornerRadius: 10).stroke(Color.primary.opacity(0.1), lineWidth: 1)).shadow(color: .black.opacity(0.08), radius: 8, y: 3); Image(systemName: "arrowtriangle.down.fill").font(.system(size: 12)).foregroundStyle(Color(.systemBackground)).offset(y: -1) } } }
iOS 17 · No dependencies
Dependencies
- SwiftUI
- No external dependencies
Requires iOS 17


