@vue-layout/countdown

A package containing a countdown component.
2,864 4
Install
npm install @vue-layout/countdown
Latest Version:5.0.1
Vue:3
Last Updated:Oct 16, 2026
Links: GitHub  ·  npm
Maintainer: tada5hi

@vue-layout/countdown ⏰

npm version CI

This package provides a customizable countdown timer for Vue3 web applications. It offers a range of options for customization, including start and end times, step length, and more. Ideal for time-based events such as auctions, sales, or promotions.

Table of Contents

Installation

$ npm i --save @vue-layout/countdown

Usage

Register the plugin.

import install from '@vue-layout/countdown';
import { createApp } from 'vue'

const app = createApp({})

app.use(install, {
  /* optional options */
})

After the component is registered, it can be used as follows.

<template>
    <VCCountdown
        :auto-start="true"
        :emit-events="true"
        :interval="1000"
        :time="3600 * 1000"
    >
        <template #default="props">
            The countdown is still running for
            <span>
                {{ props.hours }} hour(s),
                {{ props.minutes }} minute(s),
                {{ props.seconds }} second(s)
            </span>.
        </template>
    </VCCountdown>
</template>

License

Made with 💚

Published under MIT License.

Related Packages

@vuecs/countdown

A package containing a countdown component.

12,377 4
vue2-flip-countdown

A simple flip countdown timer component for Vue 2.x

64,576 228
@dmaksimovic/vue-countdown

VueJS 2.0 countdown component

1,409 12
@smithalan2/vue-countdown

A simple countdown timer component for Vue 3 written using the composition API.

2,070 3
vue-awesome-countdown

Countdown plug-in with high performance and high accuracy for Vue 2.5.0+ and Vue...

95,975 191

Version History

Version Released Vue License
5.0.1 ^3.x
5.0.0 ^3.x
3.6.2 ^3.x
3.0.0 ^3.x
2.4.0 ^3.x