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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@alekstar79/vue3-calendar-component

v1.0.1

Published

A responsive, customizable calendar component

Readme

📅 Vue 3 Calendar Component

A modern, responsive, and customizable calendar component built with Vue 3 Composition API. Features a sleek design with smooth animations, internationalization support, and comprehensive date manipulation utilities.

Vue 3 Calendar NPM GitHub repo Build Version License

Vue3 Calendar Component

🎮 Demo

Check out the live demo: Vue3 Calendar

✨ Features

  • Vue 3 Composition API - Built with modern Vue 3 and Composition API
  • Internationalization - Support for multiple locales (RU, EN, DE, FR, ES, ZH, JP)
  • Fully Responsive - Works seamlessly on desktop, tablet, and mobile devices
  • Modern UI/UX - Clean, minimalist design with smooth animations and hover effects
  • Performance Optimized - Efficient rendering with minimal bundle size
  • Customizable - Flexible props and events for easy integration
  • Date Utilities - Comprehensive date manipulation and formatting utilities
  • Demo Application - Complete demo showcasing all features

🚀 Quick Start

Installation

yarn install @alekstar79/vue3-calendar-component

Basic Usage

<template>
  <Calendar
    :initial-date="selectedDate"
    :locale="currentLocale"
    @date-selected="handleDateSelection"
  />
</template>

<script setup>
import { Calendar } from '@alekstar79/vue3-calendar-component'
import { ref } from 'vue'

const selectedDate = ref('2024-03-15')
const currentLocale = ref('en-US')

const handleDateSelection = (date) => {
  console.log('Selected date:', date)
  selectedDate.value = date
}
</script>

📁 Project Structure

vue3-calendar/
├── index.html
├── jsconfig.json
├── package.json
├── README.md
├── vite.config.js
├── vite.lib.config.js
├── yarn.lock
├── public/
│   └── favicon.png
└── src/
    ├── index.js
    ├── components/
    │   ├── Calendar.vue          # Main calendar component
    │   ├── CalendarControls.vue  # Control panel component
    │   └── CalendarResults.vue   # Results display component
    ├── composable/
    │   └── useCalendar.js        # Calendar composition API
    ├── demo/
    │   ├── App.vue               # Demo application
    │   └── main.js               # Demo entry point
    └── utils/
        └── dateUtils.js          # Date manipulation utilities

🔧 API Reference

Calendar Component Props

| Prop | Type | Default | Description | |----------------|----------|---------|-----------------------------------| | initial-date | String | null | Initial date in YYYY-MM-DD format | | locale | String | ru-RU | Locale for internationalization |

Calendar Component Events

| Event | Payload | Description | |-----------------|-----------------------|---------------------------------| | date-selected | String (YYYY-MM-DD) | Emitted when a date is selected |

Supported Locales

  • ru-RU - Russian (Русский)
  • en-US - English (US)
  • de-DE - German (Deutsch)
  • fr-FR - French (Français)

🛠 Development

Prerequisites

  • Node.js 16+
  • npm or yarn

Setup and Development

  1. Clone the repository

    git clone https://github.com/alekstar79/vue3-calendar-component.git
    cd vue3-calendar-component
  2. Install dependencies

    yarn install
  3. Run development server

    yarn dev

    Opens demo application at http://localhost:3000

Build Commands

# Build library for distribution
yarn build:lib

# Build demo application
yarn build

# Preview built demo
yarn preview

🌟 Demo Application

The package includes a full-featured demo application that showcases:

  • Calendar component with navigation
  • Locale/language switching
  • Date selection and display
  • Event logging
  • Responsive design

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

  1. Fork the project
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📱 Browser Support

  • Chrome 90+
  • Firefox 88+
  • Safari 14+
  • Edge 90+

👨‍💻 Author

Aleksey Tarasenko