The Navigator.vibrate() method pulses the vibration hardware on the device, if such hardware exists. If the device doesn't support vibration, this method has no effect. If a vibration pattern is already in progress when this method is called, the previous pattern is halted and the new one begins instead.
Example below shows how to trigger vibration on button element by ID.
Add the Javascript in your custom code settings and add the same ID to your "trigger-element" in webflow.
Add the javascript code snippet before closing </body> tag in page settings or project settings.
You can use code in previous step to trigger vibration on click. Insert the ID used in JavaScript here.