Countdown

Bootstrap 5 Countdown plugin

Countdown plugin built with the Bootstrap 5. Examples of timers, counters, stopwatch, number counts, counter box & more.

Note: Read the API tab to find all available options and advanced customization


Basic example

Create default Countdown with MDBCountdown and MDBCountdownUnit components. MDBCountdown uses slot properties to expose units value to its children elements.


Interval

Create interval that will reset timer every time initial countdown ends.


Label

Create label for each time unit by adding label with a text of your choice.


Separator

Add separator to a container element to insert separator between each time unit.

Separator won't be visible for Countdown vertical position


Styling

Countdown position

Change default horizontal position of Countdown with vertical property

Label position

Change default vertical position of Countdown label with labelPosition="horizontal"

Text size

Change default time unit text size (4rem) with textSize.

Custom classes

Add custom classes to time unit value and label with textStyle and labelStyle


Slot props

With slot properties you can use our Countdown whatever you want. Add custom property to disable default styling.