Depth Select
A 3D stack select component inspired by macOS Time Machine for React applications built with Mantine. Navigate through stacked cards with perspective transforms and smooth transitions.
Full documentation and API reference available at gfazioli.github.io/mantine-depth-selectΒ
Installation
yarn add @gfazioli/mantine-depth-selectOverview
DepthSelect provides a 3D stacked card selection interface:
- 3D Stack Effect β cards stacked with perspective transforms (scale, translateY, opacity, blur)
- Controlled & Uncontrolled β full control via
value/onChangeor automatic state management - Keyboard Navigation β ArrowUp/Down, Home/End keys support
- Scroll Navigation β mouse wheel and trackpad gesture support
- Touch Support β swipe gestures for mobile devices
- Loop Mode β infinite navigation wrapping from last to first
- Built-in Controls β customizable arrow controls with positioning
- Compound Components β use
DepthSelect.Controlsas children for customization - Accessibility β WAI-ARIA listbox pattern with proper roles and labels
- Styles API β extensive styling customization with
classNamesprop
Last updated on