Radix: Slider with AnimateNumberRadix: Context Menu
A context menu with smooth animations using Radix UI and Motion. Note: This example doesn't use AnimatePresence to add exit animations because ContextMenu.Root doesn't support controlled state. We need access to this state for AnimatePresence to conditionally render the children.
Matt PerryJanuary 31, 2025- React
Source code
Related examples
Radix: Slider with AnimateNumber
Radix: Accordion
Radix: Checkbox



