Skip to content
White Coach Mark preview
Rendered from the SwiftUI source on this page.

White Coach Mark

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

A white coach mark pointing to an element.

Feedback · SwiftUI · iOS 17

  • feedback
  • swiftui

The actual source

CoachmarkWhite.swift
// White Coach Mark · syxUI · https://syxui.dev/components/tip-coach-white
// Free in any project. Keep this line and credit syxUI where a person can read it.

import SwiftUI

struct CoachmarkWhite: View { var body: some View { HStack(spacing: -2) { VStack(spacing: 10) { Image(systemName: "checkmark").font(.system(size: 22, weight: .bold)).foregroundStyle(.black).frame(width: 54, height: 54).background(Color(red: 0.98, green: 0.85, blue: 0.1), in: Circle()); VStack(spacing: 3) { Text("This is Your Wallet").font(.system(size: 16, weight: .bold)); Text("Add or edit payment details here.").font(.system(size: 13)).foregroundStyle(.secondary).multilineTextAlignment(.center) }; Text("Next").font(.system(size: 15, weight: .semibold)).foregroundStyle(.black).frame(width: 160).padding(.vertical, 11).background(Color(red: 0.98, green: 0.85, blue: 0.1), in: Capsule()) }.padding(18).frame(width: 240).background(Color(.systemBackground), in: RoundedRectangle(cornerRadius: 20, style: .continuous)).shadow(color: .black.opacity(0.1), radius: 16, y: 6); Image(systemName: "arrowtriangle.right.fill").font(.system(size: 14)).foregroundStyle(Color(.systemBackground)).offset(x: -1) } } }
iOS 17 · No dependencies

Dependencies

SwiftUI
No external dependencies

Requires iOS 17