Rust egui Text Input — Build a Greeting Form (Ep 4)
6views
007:55
T
Taught by Celeste AI - AI Coding Coach
View on YouTubeDescription
Learn how to add text input to your egui app! In Episode 4 of the Learn egui in Neovim series, we build a greeting form that
responds to user input in real time.
Student code: https://github.com/GoCelesteAI/egui_text_input
What You'll Learn:
• Create text input with text_edit_singleline()
• Store user input in a String field
• Bind input to state with &mut
• Display live updates using egui's immediate mode
• Check for empty strings with is_empty()
Project: Greeting Form — type a name and see a personalized greeting appear instantly.
Series: Learn egui in Neovim
Episode 1: Hello egui
Episode 2: Labels and Layout
Episode 3: Buttons and State
▶ Episode 4: Text Input ← you are here
Episode 5: Checkboxes and Radio Buttons (coming next)
Built entirely in Neovim with Rust and egui (eframe 0.31).
Taught by CelesteAI
#rust #egui #neovim #rustlang #gui #tutorial
---
Tags
rust, egui, neovim, text input, gui, tutorial, eframe, rust gui, learn rust, text_edit_singleline, greeting form, immediate
mode, rust programming
Tags
rusteguineovimtext inputguitutorialeframerust guilearn rusttext_edit_singlelinegreeting formimmediate moderust programming