GitHub

Onscreen Keyboard

Full onscreen keyboard for touch interfaces, kiosks, and terminals with QWERTY layout, special keys, and sheet mode.

Basic QWERTY Layout

Preview

Compact Variant

Preview
ERPlora Terminal

Glass Variant

Preview

Sheet Mode

Preview
ERPlora Search

Classes Reference

Class Description
.oskBase keyboard container with padding and background
.osk-compactSmaller keys (40px height) and reduced gaps
.osk-lgLarger keys (56px height) and increased gaps
.osk-inlineNo border-radius or background (for embedding)
.osk.glassGlass morphism variant with translucent keys
.osk-headerHeader bar with title and language selector
.osk-titleKeyboard header label text
.osk-lang-btnLanguage switcher button
.osk-rowHorizontal row of keys
.osk-keyStandard character key
.osk-key-specialSpecial function key (wider, darker background)
.osk-key-shiftShift key (supports .active and .caps-lock)
.osk-key-backspaceBackspace key (flex: 1.5)
.osk-key-enterEnter key (primary color, flex: 2)
.osk-key-spaceSpacebar (flex: 5)
.osk-key-numbersNumber/symbol toggle key (flex: 1.25)
.osk-key-iconIcon size utility for SVGs inside keys
.osk-sheetFixed bottom sheet container for keyboard
.osk-sheet-openSlides the sheet into view
.osk-sheet-containerGlass-styled inner container
.osk-sheet-headerSheet header with title and action buttons
.osk-sheet-btnAction button inside the sheet header
.osk-sheet-btn-closeRound close button for the sheet
.osk-previewFloating key preview popup on press