Components
Modal
Floating window system with focus trapping, stacked dialogs, and keyboard-driven interaction
Demo
Click the terminal below. Navigate the project list, press enter to view details, or d to open a delete confirmation dialog.
Features
- Detail modal with double border showing project information
- Confirm modal with yes/no choice for destructive actions
- Modal stacking - open a confirm dialog from within the detail view
- Focus trapping - only the topmost modal captures keyboard input
- Automatic cleanup - deleting a project closes all related modals
- Cursor management - cursor adjusts when items are removed
Keybindings
List view
j/korup/downnavigate projectsenteropen detail modaldopen delete confirmation
Detail modal
dopen delete confirmationescclose modal
Confirm modal
yconfirm deletenoresccancelleft/right/tabtoggle selectionenterconfirm current selection