All Projects → savalanpour → react-component-countdown-timer

savalanpour / react-component-countdown-timer

Licence: MIT License
This is a simple count down timer react component.

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
SCSS
7915 projects
HTML
75241 projects

Projects that are alternatives of or similar to react-component-countdown-timer

react-timer-wrapper
Composable React Timer component that passes status props to children, in addition to some basic callbacks. Can be used at a countdown timer ⏲ or as stopwatch ⏱ to track time while active.
Stars: ✭ 14 (-22.22%)
Mutual labels:  countdown, timer, react-timer
Flip Clock
A flip clock, timer and countdown made with Polymer
Stars: ✭ 69 (+283.33%)
Mutual labels:  countdown, timer
Countdowntask
⌛️A countdown library for Android.
Stars: ✭ 64 (+255.56%)
Mutual labels:  countdown, timer
Flipdown
⏰ A lightweight and performant flip styled countdown clock
Stars: ✭ 136 (+655.56%)
Mutual labels:  countdown, timer
Countdownlabel
Simple countdown UILabel with morphing animation, and some useful function.
Stars: ✭ 714 (+3866.67%)
Mutual labels:  countdown, timer
Termdown
Countdown timer and stopwatch in your terminal
Stars: ✭ 749 (+4061.11%)
Mutual labels:  countdown, timer
React Timer Hook
React timer hook
Stars: ✭ 118 (+555.56%)
Mutual labels:  countdown, timer
Use Timer
A timer hook for React
Stars: ✭ 113 (+527.78%)
Mutual labels:  countdown, timer
React Countdown Circle Timer
Lightweight React/React Native countdown timer component with color and progress animation based on SVG
Stars: ✭ 220 (+1122.22%)
Mutual labels:  countdown, timer
CountdownTimer-TeLeTiPs
The very first powerful Telegram bot to countdown to your important events in any group chat. Live countdown timer (days : hours : minutes : seconds)
Stars: ✭ 122 (+577.78%)
Mutual labels:  countdown, timer
Easytimer.js
Easy to use Timer/Stopwatch/Countdown library compatible with AMD, ES6 and Typescript
Stars: ✭ 562 (+3022.22%)
Mutual labels:  countdown, timer
use-countdown-timer
React hook exposing a countdown timer with optional expiration reset callbacks
Stars: ✭ 31 (+72.22%)
Mutual labels:  countdown, timer
Web-Time-Tracker
Plugin named Timetracker is a time counter that works in both increase and decrease directions.
Stars: ✭ 21 (+16.67%)
Mutual labels:  countdown, timer
React Countdown
React Component showing a countdown to certain date and time.
Stars: ✭ 58 (+222.22%)
Mutual labels:  countdown, timer
React Native Countdown Component
React Native CountDown
Stars: ✭ 193 (+972.22%)
Mutual labels:  countdown, timer
tiny-timer
🕑 Small countdown timer and stopwatch module.
Stars: ✭ 39 (+116.67%)
Mutual labels:  countdown, timer
alfred-timer-workflow
Alfred workflow to start a timer, which blinks when the time is up.
Stars: ✭ 39 (+116.67%)
Mutual labels:  countdown, timer
bestest timer
This is an awesome punch clock/timer plugin for Redmine. It's great. It's the bestest.
Stars: ✭ 15 (-16.67%)
Mutual labels:  timer
gnome-shell-teatime
No description or website provided.
Stars: ✭ 34 (+88.89%)
Mutual labels:  timer
Glaedr
An extensive, modular functional scoreboard library for the Bukkit/Spigot API.
Stars: ✭ 23 (+27.78%)
Mutual labels:  countdown

React component Countdown Timer

This is a simple countdown timer react component.

Demo

The demo app source code lives inside the src/docs folder.

Documentation

Installation

npm

npm install react-component-countdown-timer --save

⚠️ Also install react-component-countdown-timer for css

@import "~react-component-countdown-timer/lib/styles.css";

Example

import React from "react";
import CountdownTimer from "react-component-countdown-timer";

class SimpleCountdownTimer extends React.Component {
  render() {
    var settings = {
      count: 5432,
      border: true,
      showTitle: true,
      noPoints: true,
    };
    return (
      <CountdownTimer {...settings} />
    );
  }
}

OR

import React from "react";
import CountdownTimer from "react-component-countdown-timer";

class SimpleCountdownTimer extends React.Component {
  render() {
    return (
      <CountdownTimer count={5432} border showTitle noPoints />
    );
  }
}

Common API

Name Type Default Description
className string '' Additional CSS class for the root DOM node
id string '' Additional id for the root DOM node
count number 0 The count value of the timer base on second
border boolean false If the value is true, it means a react-component-countdown-timer has a border
showTitle boolean false If the value is true, it means a react-component-countdown-timer has a title top of each section
direction right or left left Value to be added or subtracted on each step the slider makes. Must be greater than zero, and max - min should be evenly divisible by the step value.
When marks is not an empty object, step can be set to null, to make marks as steps.
noPoints boolean false If vertical is true, the react-component-countdown-timer will be : between each section .
color string #000
backgroundColor string #fff
responsive boolean false If true, with is responsive.
size number 18 count number font size
labelSize number 12 if showTitle is true this set label font size
responsive boolean false If true, with is responsive.
hideDay boolean false If true, hide day.
hideHours boolean false If true, hide hours .
dayTitle string Day
hourTitle string Hour
minuteTitle string Min
secondTitle string Sec
onEnd Function () => {}

License

react-component-countdown-timer is released under the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].