Component packs › Detour › Session Expired
A parked car sits with its hazards blinking and a notice lifting under the wiper while traffic goes by.
Session Expired is an error page from Detour, a component pack with 6 error and empty pages: Error and empty pages, each a small live street seen from above with one honest way forward. Price: $2 for the whole pack.
Built with: blinking hazards, notice in the wind, return to page.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
| Prop | Type | Default | Description |
|---|---|---|---|
minutes | number | 30 | Minutes of inactivity before sign-out, for the message. Default 30. |
onSignIn | () => void | ||
onHome | () => void | ||
preview | boolean | Showcase mode: the buttons say what they would do instead of leaving the page. | |
width | number | 420 | Width in px. Default 420. |
dark | boolean |
destroy(): voidimport SessionExpired from './SessionExpired';
<SessionExpired />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: 404 and empty states.