SessionTimeoutDialog
SessionTimeoutDialog — Prism component.
Signature
Density
Viewport
Theme follows the navbar ☀/☾ toggleWhen to use
SessionTimeoutDialog — Prism component.
Accessibility
Masked values stay obscured to assistive tech until revealed; the reveal toggle is a labelled button. Audit entries are an ordered list.
Import
const { SessionTimeoutDialog } = window.PrismDesignSystem_39d121;
Props
| Prop | Type | Required | Description |
|---|---|---|---|
open | boolean | Yes | Whether the dialog is shown. |
secondsLeft | number | — | Seconds remaining before automatic logout (you tick this down). |
totalSeconds | number | — | Starting seconds — used to fill the countdown ring. Default 60. |
title | React.ReactNode | — | |
description | React.ReactNode | — | |
extendLabel | React.ReactNode | — | |
logoutLabel | React.ReactNode | — | |
onExtend | () => void | — | Keep the session alive. |
onLogout | () => void | — | Log out immediately. |
className | string | — |