Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA destructive slide control for ending a ride, shift or live session, with a summary above, a confirmation message and a Resume option for a short time after it ends. Use this when ending something running is risky to do by accident and you want a deliberate gesture with a keyboard route.
Derived from this item’s props table, because it declares no controls of its own. This item has no standalone playground, so changes update the code, the share link and the AI prompt.
Use it when ending something running is risky to do by accident and you want a deliberate gesture with a keyboard route.
Do not use it for ordinary sign out or navigation, where a button is enough.
This item is part of tealmac UI Pro
The source for this item installs with a Pro licence key. Log in with your key to see the install command, or read the Pro setup page.
| Prop | Type | Default | Description |
|---|---|---|---|
elapsed | string | required | Time so far, shown in the summary. |
onEnd | () => void | required | End the session. |
onResume | () => void | - | Resume within the grace period. |
The pattern ships with a Testing Library test (slide-to-end-session.test.tsx) that drives it through roles and the keyboard.