Design

Virtual keyboard: Implementation

Updated: Feb 26, 2026
Resources and platform-specific guidance for implementing the virtual keyboard in immersive experiences.

Resources

Design
Open in Figma. Change themes for specific components or entire pages and customize elements to fit your design system.
Unity
Enable the system keyboard overlay to display the virtual keyboard for text entry. For physical keyboard support, use the tracked keyboard feature. The UI Set also provides text input field prefabs with keyboard integration.

Keyboard overlay: Display the system keyboard as an overlay for text entry
Tracked keyboard: Physical keyboard tracking in immersive experiences
Meta Horizon OS UI Set: Text input field prefabs with keyboard integration
Unreal
Enable the system keyboard overlay to allow text input in UMG text fields within immersive experiences.

Keyboard overlays: Enable the system keyboard overlay for text input
Native / OpenXR
Use the OpenXR virtual keyboard extension to integrate the system keyboard into native applications. The API provides full control over keyboard display, input handling, and positioning.

Virtual keyboard overview: OpenXR virtual keyboard API
Virtual keyboard integration: Step-by-step integration guide
Virtual keyboard sample: Working sample project
Requirements: Platform and API requirements
Meta Spatial SDK
Use the input component in your Jetpack Compose layout to provide text fields and search fields with built-in keyboard support.

Input: Text field and search field components with keyboard support
UI overview: Full component library for spatial experiences
Web
Access the system keyboard in WebXR experiences to enable text input for users.

System keyboard: Access the system keyboard in WebXR experiences
Android Apps
Use the standard Android input framework for text entry. The system keyboard is available to Android apps running on Horizon OS, supporting both on-screen and physical keyboard input.

Input: Input modalities including keyboard support for Android apps
Design requirements: Hit targets, hover states, color, and typography for Android apps
Did you find this page helpful?