A dynamic, real-time form-based TUI built with Bubble Tea!
Showcases how to create responsive forms in the terminal, giving users instant feedback as they type.
- 🖥️ Interactive Real-Time Form - Provide immediate, real-time feedback to users as they enter data.
- 🎨 Responsive Design - Built using Bubble Tea and Lip Gloss for modern, sleek UIs.
usermakertui
demonstrates how to build a real-time form in the terminal. It comes with a sample application that shows a user creation form, but you can modify it for other use cases.
-
Clone and build:
git clone https://github.com/jasonuc/usermakertui.git cd usermakertui go build -o usermaker
-
Run the example form:
./usermaker
usermakertui
leverages the power of Bubble Tea to create a form that validates inputs in real-time. Users get immediate feedback as they type, with errors highlighted and suggestions displayed dynamically. The example provided shows how you can create a form for user input (e.g., email, password), but the concept can be extended to any kind of terminal-based form.
Want to adapt the real-time form for your own needs? Here’s how you can customize it:
- Add or Modify Input Fields: Add new
textinput.Model
components for different types of data. - Change Styles: Easily tweak the styling using Lip Gloss to match your brand or aesthetic.
- Use for Different Applications: Integrate this form concept into other Bubble Tea-based TUIs, like setup wizards, data entry tools, or interactive scripts.
The purpose of usermakertui
is showing how real-time feedback can transform the user experience in terminal applications. By giving users immediate validation, error handling, and visual cues, you can make your TUIs as intuitive and user-friendly as modern graphical apps.