Plugin Countdown
What's Included
- Free to download & use
- Open for personal & commercial use
Support The Creator
Use one-time or monthly support to thank the creator for this free product.
GrapesJS Compatible
Tested with GrapesJS 0.19.x, 0.18.x, 0.17.x, 0.16.x
Open Source on GitHub
Free to use, fork, and contribute
Editor Compatible
Designed for the GrapesJS open-source editor
Free to Use
Open for personal and commercial projects
Launch pages, sales and event sites all need the same element: a timer counting down to a date. This plugin adds it as a block, with the target date exposed as a component trait so the person editing the page sets it without touching code.
What it adds
One block and one component, both named countdown. The component renders days, hours, minutes and seconds, each as a separately styleable element under the countdown class prefix.
Options
startTime— the default target date, for example2030-01-25 00:00.endText— what replaces the timer once it expires. Defaults toEXPIRED.dateInputType—dateordatetime-local, depending on whether your countdown needs a time of day.labelDays,labelHours,labelMinutesandlabelSeconds— the unit labels shown in the component, which is where you localise it.styleandstyleAdditional— replace or extend the default CSS.classPrefix— change the generated class prefix fromcountdown.blockandprops— extend the block definition and the component properties.
Good to know
Install as grapesjs-component-countdown. BSD-3-Clause.
Ratings:
No reviews yet. Be the first to share your experience.
Questions & Answers
No questions yet. Have something to ask?
Common problems this plugin can help fix
Real community questions on the same topic — see how others worked around them.
