npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@neonwired/vue-date-wheel

v0.1.10

Published

A simple, user-friendly Vue 3 date picker built out of frustration with clunky, unintuitive date picker UIs.

Readme

📦 vue-date-wheel

A simple, user-friendly Vue 3 date picker built out of frustration with clunky, unintuitive date picker UIs.

This component focuses on smooth scrolling, clean interaction, and a minimal, native-like experience.


✨ Features

  • 🎯 Scroll-based wheel picker (iOS-style)
  • 🧲 Native scroll snapping
  • 🖱️ Smooth scrolling UX
  • ⌨️ Keyboard-friendly
  • 🪶 Lightweight and dependency-minimal
  • ⚙️ Fully compatible with Vue 3

📸 Demo

DateWheel Preview

Click to play demo


📥 Installation

npm install vue-date-wheel

⚙️ Requirements

This package requires:

  • Vue 3
  • date-fns
npm install date-fns

🚀 Usage

Global registration

import { createApp } from 'vue'
import DateWheel from '@neonwired/vue-date-wheel'

const app = createApp(App)
app.use(DateWheel)

Local import

import { DateWheel } from '@neonwired/vue-date-wheel'
<template>
  <DateWheel v-model="date" />
</template>

<script setup lang="ts">
import { ref } from 'vue'

const date = ref({
  day: '1',
  month: '0', // 0 = January
  year: '2024'
})
</script>

🔁 v-model format

The component uses a simple object structure:

{
  day: string,
  month: string, // 0–11 (0 = January)
  year: string
}

⚙️ Props

| Prop | Type | Description | |-------------|--------|-----------------------| | modelValue | Object | Current selected date |


📡 Events

| Event | Payload | Description | |--------------------|-----------|---------------------------| | update:modelValue | ModelDate | Emitted when date changes |


🎨 Styling

vue-date-wheel ships with a small amount of required CSS for layout, scrolling, and snap behavior.

Import the styles

You must import the bundled CSS once in your app:

import '@neonwired/vue-date-wheel/dist/date-wheel.css'

You can customize styles using standard classes:

<DateWheel class="my-custom-class" />

🧠 How it works

  • Uses native CSS scroll snapping
  • Emits updates via v-model
  • Uses smooth scrolling for a natural feel

⚠️ Notes

  • Months are 0-indexed (0 = January)
  • date-fns is required as a peer dependency
  • Uses experimental scrol snap events so might not function in all browsers

🛠️ Development

npm install
npm run dev

📦 Build

npm run build

❤️ Motivation

Most date pickers feel heavy, awkward, or over-engineered.
This component was built to provide a simpler, more intuitive alternative focused purely on user experience.


📄 License

MIT