txtui

Text Input

Single-line text input fields for forms and data entry.

form

Basic

┌──────────────────────────┐
│                          │
└──────────────────────────┘

With Label

Username
┌──────────────────────────┐
│                          │
└──────────────────────────┘

With Placeholder

Email
┌──────────────────────────┐
│ you@example.com          │
└──────────────────────────┘

With Validation

Password
┌──────────────────────────┐
│ ****                     │
└──────────────────────────┘
! Must be at least 8 characters