Countdown
Animated countdown timer that ticks down to a target date. Simple style displays plain numbers with labels. Flip style renders a 3D flip-clock effect with split cards and CSS keyframe animations.
Simple
Plain numbers with labels below each unit, joined by colon separators
_countdown.html.erb
███
█████████ █ ██████ █████ █████████
███████
████████████ ██████ ████ █████ █ ████████
██████████ ███████ █████████ █████
███████████ ███████ █████████ █████
█████████████ ███████ █████████ █████
█████████████ ███████ █████████ █████
████████████████ ██████ █████████ ███████ █████
countdown_controller.js
██████ █ ██████████ █ ████ ████████████████████
██████ ███████ █████ ███████ ██████████ █
██████ ███████ █ ████████ ████████ ██████████ ██████████ ██████████
██████ ██████ █ █
███████████ ███████
█████████ █ █████ ████████ ████████ ████ ██
██████████ █ █████ ████████ ████████ ████ ██
████████████ █ █████ ████████ ████████ ████ ██
████████████ █ █████ ████████ ████████ ████ █
countdown_simple_component.html.erb
████ ██████████ █████████████████ ███ ███████████████████████████
█████████████████████████████████████ ████████████ ███
███████████████████████████████████ ██████████ ███
████████████████████████████████████ ███████████ ███
██████████████████████████████████████ █████████████ ███
██████████████████████████████████████ █████████████ ████
██ ██ ██████████ ██
████ █████████ ███████████ ████████ ██████████████
█████ ████████████████████████████ ██████████ ██████████████ █████████████
countdown_simple_component.rb
█ ██████████████████████ ████
█████ ████████████████████████ █ ███████████████████
█████ █ █
███ █ ███████ ███████████ ██████████ █████████ ██
███ █ ███████ ███████████ ██████████ ██████████ ██
███ █ ███████ ███████████ ██████████ ██████████ █
████████
██████████████ █ █
countdown_controller.js
██████ █ ██████████ █ ████ ████████████████████
██████ ███████ █████ ███████ ██████████ █
██████ ███████ █ ████████ ████████ ██████████ ██████████ ██████████
██████ ██████ █ █
███████████ ███████
█████████ █ █████ ████████ ████████ ████ ██
██████████ █ █████ ████████ ████████ ████ ██
████████████ █ █████ ████████ ████████ ████ ██
████████████ █ █████ ████████ ████████ ████ █
Flip
3D flip-clock animation with split cards and perspective transforms
_countdown.html.erb
███
█████████ █ ████ █████ █████████
███████
████████████ ██████ ████ █████ █ ████████
██████████ ███████ █████████ █████
███████████ ███████ █████████ █████
█████████████ ███████ █████████ █████
█████████████ ███████ █████████ █████
████████████████ ██████ █████████ ███████ █████
countdown_controller.js
██████ █ ██████████ █ ████ ████████████████████
██████ ███████ █████ ███████ ██████████ █
██████ ███████ █ ████████ ████████ ██████████ ██████████ ██████████
██████ ██████ █ █
███████████ ███████
█████████ █ █████ ████████ ████████ ████ ██
██████████ █ █████ ████████ ████████ ████ ██
████████████ █ █████ ████████ ████████ ████ ██
████████████ █ █████ ████████ ████████ ████ █
countdown_flip_component.html.erb
███████
████████████████████ █
████████████ ██████
█████████ █████████
█
████████████████████ ██████████
████████████████████ ████████████ █
█████████ █████████
█████ ██
██████ ██
countdown_flip_component.rb
█ ██████████████████████ ████
█████ ██████████████████████ █ ███████████████████
██████████ █ █
███ █████ ██████
███ █████ ██████
███ █████ █████
████████
██████████ █ █
countdown_controller.js
██████ █ ██████████ █ ████ ████████████████████
██████ ███████ █████ ███████ ██████████ █
██████ ███████ █ ████████ ████████ ██████████ ██████████ ██████████
██████ ██████ █ █
███████████ ███████
█████████ █ █████ ████████ ████████ ████ ██
██████████ █ █████ ████████ ████████ ████ ██
████████████ █ █████ ████████ ████████ ████ ██
████████████ █ █████ ████████ ████████ ████ █
Changelog
- v1.0.0: Initial release with simple and flip styles
Get Full Access
Unlock the source code for this component and all others. One-time payment for lifetime access.
Get Access Now