Smooth UI/Interactive/Magnetic Select

Magnetic Select

SelectControls

Dropdown selector where menu options and highlight pill magnetically attract toward cursor coordinates.

Interactive Live Stage
Instruction:Full multi-touch gesture support with touch-action isolation
⚙ Controls & Tuning
1 Parameters
Magnetic Strength0.22
Supported States:
ClosedOpenHovering ItemSelected

Component Props & API

Type-safe React 19 interface properties supported by Magnetic Select.

Prop NameTypeDefaultDescription
initialThemestring'light'Theme style ('light' | 'dark')
⌨ Keyboard Support

Arrow Up/Down to navigate options; Enter to select

📱 Touch & Gestures

Full multi-touch gesture support with touch-action isolation

⚡ Reduced Motion

Falls back to instant CSS transitions with zero continuous physics loops