# Select Component
## Overview
Single-choice selection component with keyboard navigation.
## Usage
```rust
use xacli_components::Select;
use xacli_core::InputValue;
let select = Select::new("Choose an option:")
.option("Option 1", InputValue::String("opt1".to_string()))
.option("Option 2", InputValue::String("opt2".to_string()));
let result = select.run(ctx)?;
```
## Features
- Keyboard navigation (Up/Down, j/k)
- Jump to first/last (Home/End)
- Visual selection indicator
- Custom values per option
## Keyboard Events
- `Enter` - Confirm selection
- `Esc` or `Ctrl+C` - Cancel
- `Up` or `k` - Move selection up
- `Down` or `j` - Move selection down
- `Home` - Jump to first option
- `End` - Jump to last option