Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
haptics
... export default function MyComponent() { const { haptics } = useFrame(); return ( <div> <button onClick={() => haptics.impactOccurred('light')}>Light Impact</button> </div> ); }
haptics.impactOccurred('light')
haptics.impactOccurred('medium')
haptics.impactOccurred('heavy')
haptics.impactOccurred('soft')
haptics.impactOccurred('rigid')
haptics.notificationOccurred('success')
haptics.notificationOccurred('warning')
haptics.notificationOccurred('error')
haptics.selectionChanged()