Follows focus
Opens and closes automatically as users interact with text fields.
- Keeps the focused field visible, never behind the keyboard


Text input for kiosks, tablets and embedded systems.


The keyboard on a wall panel running Helio: naming a new device, and the keyboard opened when the field was tapped.
Trusted by industry leaders and developers worldwide
It follows focus, adapts to the input type and keeps the field being edited in view.
Opens and closes automatically as users interact with text fields.


Adapts to text input types such as numbers, email or URLs.


Designed for efficiency, it runs smoothly even on low-power CPUs and GPUs.


WebAssembly demo
Name a batch on a panel HMI, then tap a number field and watch the keyboard become a number pad, compiled to WebAssembly.
Setup
Add the package, drop the control into your view, and bind it. There is no renderer to configure and no per-platform code to write.
Add the OnScreenKeyboard package to your project
dotnet add package Avalonia.Controls.VirtualKeyboardInclude your Avalonia UI license key in the executable project file .csproj
<ItemGroup>
<AvaloniaUILicenseKey Include="YOUR_LICENSE_KEY" />
</ItemGroup>Open your App.axaml file and include the following within the Application.Styles section
<Application xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="YourNamespace.App">
<Application.Styles>
<FluentTheme />
<!-- Include the Virtual Keyboard theme -->
<StyleInclude Source="avares://Avalonia.Controls.VirtualKeyboard/Themes/Fluent.axaml"/>
</Application.Styles>
</Application>Pro features
One subscription carries all seven premium components, 70+ chart types and the advanced tooling. Nothing on this page is a separate purchase.
Included components
FAQ
Can't find what you need? We're here to help.
No. This component is part of the Avalonia Pro and Enterprise tiers. Activation requires an Avalonia account and a valid Pro or Enterprise licence.
Yes. Each component gives you a ready UI out of the box, but you can build a bespoke interface by using the underlying classes directly and wiring up your own commands and visuals.
Supported formats depend on the underlying platform. Check the component's documentation and the platform's own capability lists for specifics.
Avalonia UI components support Windows, macOS, Linux, iOS, Android, and WebAssembly. Each component uses the native platform back-end for optimal performance and compatibility.

Try On Screen Keyboard free for 30 days, wherever a physical keyboard isn’t practical.