A HapticPreset name, a duration in ms, or a custom vibration pattern array.
haptic('light'); // gentle tap — toggles, selections
haptic('medium'); // moderate tap — confirmations
haptic('heavy'); // strong tap — destructive actions
haptic('success'); // double tap — positive actions (e.g. likes)
haptic('warning'); // double pulse — caution
haptic('error'); // triple pulse — validation errors
haptic('nudge'); // long + short — attention, reminders
Trigger a haptic feedback pattern on supported mobile devices.