String presets passed to trigger("…") are resolved from defaultPatterns, exported from taptickit.
| Key | Description |
|---|---|
success | Ascending double-tap |
warning | Two taps with a longer gap |
error | Short sequence of stronger taps |
| Key | Description |
|---|---|
light | Short, lower intensity |
medium | Default-style tap |
heavy | Longer, full intensity |
soft | Softer, slightly longer |
rigid | Very short, crisp |
| Key | Description |
|---|---|
selection | Very short tick for toggles / pickers |
| Key | Description |
|---|---|
nudge | Two taps with pause — reminder feel |
buzz | Long single phase (clamped by the implementation’s max phase duration) |
import { defaultPatterns } from "taptickit";
const pattern = defaultPatterns.success.pattern;
Unknown string keys log a console warning and trigger returns without vibrating.