# Backend-Specific Examples Examples demonstrating each backend (CLI, TUI, Web) with features unique to that platform. ## CLI Backend See: `cli/README.md` Interactive command-line forms with: - Inline validation - Progress tracking - Terminal-based UI ## TUI Backend See: `tui/README.md` Text User Interface forms with: - Interactive navigation - Real-time feedback - Mouse/keyboard support ## Web Backend See: `web/README.md` Web-based form rendering with: - HTML/CSS styling - Browser compatibility - REST API integration ## Common Examples Format Each backend can use TOML form definitions or Rust code: **TOML** - Configuration-driven (faster iteration): ```bash cargo run -p typedialog-web -- --config registration_form.toml ``` **Rust** - Programmatic control (advanced customization): ```bash cargo run --example form_with_autocompletion ``` ## Feature Compatibility Matrix | Feature | CLI | TUI | Web | |---------|-----|-----|-----| | Conditional Fields | ✓ | ✓ | ✓ | | Autocompletion | ✓ | ✓ | ✓ | | Validation | ✓ | ✓ | ✓ | | Custom Styling | ✗ | ✓ | ✓ | | i18n Support | ✓ | ✓ | ✓ |