useBlob
The blob numbers, read from the tokens: the corner radius, the goo blur that follows it, and the morph spring. Every caller shares one MutationObserver on <html>, counted and disconnected when the last one unmounts, so a preset or theme switch reaches every blob and ten blobs cost one observer. AppBlob and useIndicator call it; call it yourself to time HTML that moves with a blob.
Install: pnpm add-composable useBlob
Moving HTML with the blob
API
radius(string | number): Option: the token or px number the corners take.cap(number): Option: largest corner allowed, usually half the shape height.minBlur(number): Option: the blur never goes under this, so the 8px corners of Ink still fuse.roundness / blur(ComputedRef<number>): Corner radius in px; radius × 0.5, at least minBlur.spring((opening?: boolean) => transition): A spring on --vt-morph-duration with --vt-morph-bounce, bouncing only while opening. { duration: 0 } under reduced motion.quick(() => transition): A --vt-duration tween for moves that follow the pointer, so the blob never trails it.