Desktop-only API
You can use Compose Multiplatform to create macOS, Linux, and Windows desktop applications. This page gives a short overview of the desktop-specific components and events. Each section includes a link to a detailed tutorial.
Components
Events
Tabbing navigation between components
You can set up navigation between components with the Tab keyboard shortcut for the next component and ⇧ + Tab for the previous one.
By default, the tabbed navigation allows you to move between focusable components in the order of their appearance. Focusable components include TextField, OutlinedTextField, and BasicTextField composables, as well as components that use Modifier.clickable, such as Button, IconButton, and MenuItem.
For example, here's a window where users can navigate between five text fields using standard shortcuts:
You can also make a non-focusable component focusable, customize the order of tabbing navigation, and put components into focus.
For more information, see the Tabbing navigation and keyboard focus tutorial.
What's next
Learn how to create unit tests for your Compose Multiplatform desktop project.
Learn how to create native distributions, installers, and packages for desktop platforms.
Set up interoperability with Swing and migrate your Swing applications to Compose Multiplatform.
Learn about accessibility support on different platforms.