ink-web-ui
Components

Viewport

Scrollable content area with a visible scrollbar track, line numbers, and vim-style keyboard navigation

Demo

Click the terminal below. Use j/k to scroll line by line, d/u for half-page jumps, and g/G to jump to top or bottom.

Features

  • Scrollable content with a visible scrollbar track and proportional thumb
  • Line numbers displayed in dim on the left with a separator
  • Scroll percentage indicator in the header (Top/Bot/percentage)
  • Position footer showing current visible line range
  • Vim-style navigation with multiple scroll speeds

Keybindings

  • j / down scroll down one line
  • k / up scroll up one line
  • d / page down half page down
  • u / page up half page up
  • g scroll to top
  • G scroll to bottom

On this page