SweetUI

Search items

Jump to an item

recipe

tooltip

Tooltip: hint, popover.

tooltiphelphinthoverguidance
tooltip, light

On iPad

The same installed source at a regular width. It adapts its layout without a separate design.

tooltip on iPad, light

Install

Usage

Button("Freeze card", systemImage: "snowflake") { }
    .buttonStyle(.registryOutline)
    .accessibilityHint("Blocks new purchases until you unfreeze the card.")
    .help("Blocks new purchases until you unfreeze the card.")
    .registryItem("tooltip")

Why native is enough

No iPhone hover; accessibilityHint (VoiceOver) + .help (pointer/iPad) = tooltip. Sighted-info also needs copy/popover.

Accessibility contract

  • Hint after label; help: pointer/iPad/macOS-style hover.
  • MUST NOT rely on hover-only info, touch.

Details

Kindrecipe
Version0.1.1
PlatformsiOS 26.0+
Dependenciesbutton
Sourcenone (native guidance)