System · component · 9K

Shut down

The shut-down sequence: open windows close one by one, then a white alert on black says it is now safe to switch off, then the picture collapses to a line and a dot like a tube switching off. Restart (or any key or click on the black screen) reopens the windows. Instant under reduced motion; focus is managed and restored.

Install

pnpm dlx shadcn@latest add @s7ui/shut-down

Example

This example also uses @s7ui/button @s7ui/icons @s7ui/window @s7ui/window-manager.

5 items

12 items

Remember to back up.

The windows close one by one, then the alert; after four seconds the screen switches off. Restart, or any key or click on the black screen, brings everything back.

Info

Files:
components/retro/shut-down.tsx
Uses:
@s7ui/theme, @s7ui/button, @s7ui/window-manager, @s7ui/cursors
Packages:
—