Bevy Hui Widgets
A collection of bevy components & systems to build widgets
with bevy_hui
.
It is highly suggest to checkout the widget example in the example-crate.
Slider
A slider is a node with an absolute button as child. The button can be dragged on a fixed axis. The slider state/value is stored on the root node.
The important part:
on_spawn="init_slider"
tag:axis="x"
A minimal template you have to implement:
Input
A input node is just a button with a text node somewhere in it's hierarchy.
Placeholder
Select [WIP]
A select is a button with a text child and a hidden container node with options. The current selected value is represented by the entity of the value node. It's up to the user to add any Component/value to that node.
Minimal template:
Select Template:
None
Option Template:
{value}
Usage: