# KeybindFieldComponent

Rebinds one key or mouse button. Escape unbinds, and a clash with another binding turns it red.

```java
add(new KeybindFieldComponent(at(new Box("zoom", 12, 30, 200, 20)), words,
        MinuitKeys.binding(ZOOM_KEY))
        .onChange(this::saveKeys));
```

## Variants

- States: Click a field, then press a key.

Page: https://minuit.dryaides.com/components/keybind.html
