A short vibration on tap, success or error.
Usage
<script lang="ts">
import { Button } from "@orochibraru/ui/button";
import { haptic } from "@orochibraru/ui/haptics";
</script>
<div class="flex flex-wrap gap-2">
<Button variant="outline" onclick={() => haptic("tap")}>Tap</Button>
<Button variant="outline" onclick={() => haptic("success")}>Success</Button>
<Button variant="outline" onclick={() => haptic("error")}>Error</Button>
</div>