Interactive Joypad Controller
A production-scale, light + dark Interactive Joypad Controller component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add interactive-joypad-controllerLive preview available in the gallery.
Usage
import { InteractiveJoypadController } from "@lerpa/ui";
<InteractiveJoypadController />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| onMove | (coords: { x: number | — | |
| y | number }) => void | - | |
| className | string | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.