This example demonstrates how to build a multi-field form using the @termuijs/ui package.
- Combining standard text inputs (using the
Formwidget) alongsideNumberInputandPasswordInputwidgets in a single screen layout. - Managing unified form state.
- Inline validation and error rendering.
- Triggering a
Modalprompt for user confirmation before clearing the form.
bun install
bun run devsrc/index.tsx: The main application utilizing the TermUI widgets and layout engine.