Skip to content
Back to skills

Add Haptics

ASecurity

Add haptic feedback (impact, notification, selection) via expo-haptics. Use when the user says 'haptics', 'haptic feedback', 'vibration', 'tap feedback'.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 4, 2026
developmentbash

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 4, 2026

npx -y skills add khadinakbarlabs/expo-mobile-app-builder --skill add-haptics --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Add Haptics?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Add Haptics
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/khadinakbarlabs-add-haptics/badge)](https://www.skillsdirectory.com/skills/khadinakbarlabs-add-haptics)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "add-haptics"
description: "Add haptic feedback (impact, notification, selection) via expo-haptics. Use when the user says 'haptics', 'haptic feedback', 'vibration', 'tap feedback'."
---

# Add Haptics

iOS Taptic Engine feedback via expo-haptics.

## Install
```bash
npm exec --no -- expo install expo-haptics
```

## Usage
```tsx
import * as Haptics from 'expo-haptics';

// Impact (taps, button presses)
Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Light);
Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Medium);
Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Heavy);
Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Soft);
Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Rigid);

// Notification (success, warning, error)
Haptics.notificationAsync(Haptics.NotificationFeedbackType.Success);
Haptics.notificationAsync(Haptics.NotificationFeedbackType.Warning);
Haptics.notificationAsync(Haptics.NotificationFeedbackType.Error);

// Selection (picker scrolling)
Haptics.selectionAsync();
```

## When to use
- Button press confirmation: `impactAsync(Light)`
- Successful save: `notificationAsync(Success)`
- Failed action: `notificationAsync(Error)`
- Picker / segmented control change: `selectionAsync()`
- Toggle switch: `impactAsync(Medium)`
- Long press start: `impactAsync(Heavy)`

## ABSOLUTE NO
- Don't fire haptics on every render
- Don't trigger haptics during animation (jarring)
- Respect user's Haptic settings (don't force-override)

Files in this skill

  • SKILL.md1.4 KB
  • agents/openai.yaml164 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…