Components
Countdown
A live countdown to a target date — days, hours, minutes and seconds, with an expired state.
php artisan blatui:add countdown
Expired
00
Days
00
Hrs
00
Min
00
Sec
<x-ui.countdown :to="now()->addDays(12)->addHours(7)->addMinutes(32)->addSeconds(8)" />
Expired
The sale has ended — see you next time.
00
Days
00
Hrs
00
Min
00
Sec
<x-ui.countdown :to="now()->subMinutes(5)">The sale has ended — see you next time.</x-ui.countdown>