SessionTimeoutDialog
stableSession expiry warning dialog with countdown timer, progress bar, and extend/logout actions
import { SessionTimeoutDialog } from "@nodus/design-system/patterns"Props
| Prop | Type | Default | Description |
|---|---|---|---|
timeoutSeconds | number | 300 | Total timeout |
warningThreshold | number | 60 | Warning appears at N seconds |
onExtend | () => void | — | Extend session callback |
onLogout | () => void | — | Logout callback |
open | boolean | true | Dialog visibility |
timeoutSecondsType
numberDefault 300Total timeout
warningThresholdType
numberDefault 60Warning appears at N seconds
onExtendType
() => voidDefault —Extend session callback
onLogoutType
() => voidDefault —Logout callback
openType
booleanDefault trueDialog visibility
Design Rationale
This component was designed to express:
Explore Related
Was this helpful?