4 releases (2 breaking)

0.3.0 Dec 2, 2024
0.2.1 Oct 25, 2024
0.2.0 Oct 25, 2024
0.1.0 Oct 15, 2024

#858 in Game dev

Download history 97/week @ 2024-10-09 70/week @ 2024-10-16 226/week @ 2024-10-23 20/week @ 2024-10-30 22/week @ 2024-11-06 1/week @ 2024-11-13 90/week @ 2024-11-27 72/week @ 2024-12-04

163 downloads per month

MIT/Apache

6MB
2K SLoC

Bevy UI Inspector

A tool that tries to do what the html / css tools in the chrome dev tools do.

How to use

    App::new()
        .add_plugins((
            DefaultPlugins,
            UiInpector,
        ))
        .run()

    // To make the gizmos work correctly and not be drawn behind the UI.
    // Add a builtin bevy IsDefaultUiCamera component to your Camera.
    commands.spawn((
        Camera3d { ..default() },
        Transform::from_xyz(0.0, 0.0, 15.0).looking_at(Vec3::ZERO, Vec3::Y),
        IsDefaultUiCamera,
    ));

Features

  • A way to see the UI node hierarchy
  • Fiddling with styling properties while running the app
  • A picker to quickly go to a node you want to inspect

Demo

demo

Compatibility

bevy bevy_ui_inspector
0.15 0.3
0.14 0.2

Todos

  • More styling properties
  • Add background color
  • Add selection / changing of text

Dependencies

~35–76MB
~1.5M SLoC