Skip to content
RadialMenu logo

RadialMenu

Radial context menu for Compose Multiplatform and Android Views

Dependency
implementation("io.github.gawwr4v:radialmenu:1.0.5")
RadialMenu on Android
Android
RadialMenu on Desktop
Desktop JVM

What You Get

  • Compose wrapper + fullscreen overlay API
  • Android View API (RadialMenuView)
  • Trigger modes: Auto, LongPress, SecondaryClick, KeyboardHold
  • Edge-hug corner layout (opt-in)
  • Badge support, active/inactive item icons, and animated hover scaling

Trigger Model

  • Auto picks platform defaults:
  • Android: LongPress(positionAware = true)
  • Desktop: SecondaryClick(positionAware = false)
  • KeyboardHold(key) opens at screen center and commits selection on key release.
  • Keyboard hold selection uses angle-based pie slices and tracks flick direction from cursor position at key-down.

Behavior Notes

  • Edge-hug layout is opt-in through enableEdgeHugLayout = true.
  • Edge-hug applies only to cursor/touch-spawned menus in corners with 4+ items.
  • Edge-hug is skipped for center-spawned keyboard menus.
  • Published POM declares only kotlin-stdlib; Compose and AndroidX are provided by the consuming app.

Next