Haptics

Request semantic interaction feedback across Apple platforms.

FHapticImpact supports .soft, .light, .medium, .rigid, and .heavy. FreakUI maps each request to the closest platform feedback on iOS and macOS.

Components that expose a haptic argument play it through FHapticManager.shared.

FButton(title: "Save", haptic: .light) {
    save()
}

FHapticManager.shared.play(.medium)

Use haptics as reinforcement, never as the only indication that an interaction succeeded or failed.