KQ-170 · RETRY/PULSE

Retry Pulse

An action that carries its own outcome. Failing snaps the button sideways once, then offers the retry; retrying spins a bearing where the label was; succeeding stamps a check that draws itself and lands on the recoil spring — all through one slot, so the control never changes width.

KQ-170 · RETRY/PULSE

Attempt idle

Install

One command — the source lands in your repo. Or copy it from the Code tab.

$ pnpm dlx shadcn@latest add @kinetiq/retry-pulse

Props

status
"idle" | "loading" | "success" | "error"
default
The controlled state driving the button.
onRetry
() => void
default
Fired on activation while idle or errored.
label / retryLabel
string
default "Submit" / "Retry"
The idle label and the errored label.