# Input Component
## Overview
Text input component for collecting user input with cursor navigation support.
## Usage
```rust
use xacli_components::Input;
use xacli_core::InputComponent;
let input = Input::new("Enter your name:");
let result = input.run(ctx)?;
```
## Features
- Full cursor navigation (Left/Right, Home/End)
- Character insertion and deletion (Backspace/Delete)
- Default value support
- Escape to cancel (Ctrl+C or Esc)
## Keyboard Events
- `Enter` - Submit input
- `Esc` or `Ctrl+C` - Cancel
- `Backspace` - Delete character before cursor
- `Delete` - Delete character at cursor
- `Left/Right` - Move cursor
- `Home/End` - Jump to start/end
- Any character - Insert at cursor position