A modern, minimal, and interactive 3D wheel picker component for React/Next.js projects. Perfect for creative navigation, option selection, or showcasing features in a unique way.
npm install @thomarket/circular-wheel-pickerimport CircularWheelPicker from '@thomarket/circular-wheel-picker';
export default function Demo() {
return (
<CircularWheelPicker
items={[
{ id: 'home', label: 'Home' },
{ id: 'about', label: 'About' },
{ id: 'services', label: 'Services' },
{ id: 'portfolio', label: 'Portfolio' },
{ id: 'contact', label: 'Contact' },
]}
config={{ visibleItems: 7, tiltAngle: 15 }}
styling={{
containerWidth: '18rem',
containerHeight: '22rem',
backgroundColor: 'transparent',
mainItemColor: '#d3dbd7',
extremeItemColor: '#bfc8c3',
mainItemOpacity: 0.7,
extremeItemOpacity: 0.2,
fontSize: 20,
}}
nowrapLabel={true}
showHint={false}
/>
);
}