Files
dioxus/examples/10-integrations/native-headless-in-bevy
Evan AlmloffandJonathan Kelley 14f3e71722 Check minimum versions in CI (#5437)
* check minimum versions

* fix min lockfile

* fix clippy

* Delete .codex

* fix toml min version

* add cache to min-deps

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2026-04-03 15:51:42 -07:00
..

Example: Integrating Dioxus into a Bevy application

This example demonstrates rendering a Dioxus application onto a texture within a Bevy application.

Core Concepts

  • Render a headless Dioxus-native app to a texture.
  • Share and display the texture on a quad in the Bevy app.
  • Transmit mouse and keyboard events from Bevy to Dioxus.
    • Events are captured when hovering over elements with the catch-events class, ensuring only Dioxus receives them.
  • Manage application state through channel messages between Dioxus and Bevy.