#text-input #bevy-ui #bevy-plugin #bevy #widgets #gamedev #single-line

bevy_simple_text_input

Bevy plugin for a simple single-line text input widget

9 releases (5 breaking)

0.6.1 Apr 15, 2024
0.6.0 Apr 6, 2024
0.5.1 Mar 7, 2024
0.5.0 Feb 27, 2024
0.1.2 Sep 14, 2023

#543 in Game dev

Download history 3/week @ 2024-01-15 156/week @ 2024-01-29 124/week @ 2024-02-12 77/week @ 2024-02-19 203/week @ 2024-02-26 199/week @ 2024-03-04 78/week @ 2024-03-11 60/week @ 2024-03-18 14/week @ 2024-03-25 167/week @ 2024-04-01 68/week @ 2024-04-08 210/week @ 2024-04-15 63/week @ 2024-04-22

510 downloads per month

MIT/Apache

245KB
381 lines

bevy_simple_text_input

crates.io docs Following released Bevy versions

An unambitious single-line text input widget for bevy_ui.

animated screenshot of text input widget gaining focus and text typed and submitted

Usage

[!IMPORTANT] Code and examples in the main branch are under development and may not be compatible with the released version on crates.io. The latest branch will contain the code from the most recent release.

See examples/basic.rs.

Compatibility

bevy_simple_text_input bevy
0.4-0.6 0.13
0.3 0.12
0.1-0.2 0.11

Contributing

Please feel free to open a PR, but keep in mind this project's goals. This is meant to be a simple single-line text widget.

The code should be simple enough for users to quickly understand and modify for their own purposes. There should be zero additional dependencies.

Please keep PRs small and scoped to a single feature or fix.

Alternatives

If you need more features, check out bevy_cosmic_edit or bevy_egui.

Dependencies

~42–81MB
~1.5M SLoC