Const
Key3D Component
Individual 3D keyboard key with press animation and label overlay. Uses category-based coloring and emissive glow when pressed.
<Key3D keyData={{ code: 'Space', label: 'Space', row: 4, col: 2, width: 3, category: 'combat' }} isPressed={pressedKeys.has('Space')}/> Copy
<Key3D keyData={{ code: 'Space', label: 'Space', row: 4, col: 2, width: 3, category: 'combat' }} isPressed={pressedKeys.has('Space')}/>
Key3D Component
Individual 3D keyboard key with press animation and label overlay. Uses category-based coloring and emissive glow when pressed.