2.0 alpha
These docs describe 2.0. Install it with @once-ui-system/core@alpha.
On 1.8.x? Read the 1.x docs
TrademarkTrademarkDocs
Ctrl k
Search docs...
Effects

CountdownFx

Updated: October 25, 2025
View on GitHub
The CountdownFx component wraps CountFx to create beautiful countdown timers. It automatically calculates and displays the time remaining until a target date with smooth wheel animations and colon separators. Choose between different time formats based on your needs. Use different animation effects from CountFx. Create compelling launch countdowns for product releases, events, or promotions. Execute a function when the countdown reaches zero.
Prop
Type
Default
targetDaterequired
What it counts down to.
Datestring
format
Which units to show.
HH:MM:SSDD:HH:MM:SSMM:SS
HH:MM:SS
effect
How the digits change.
CountFxProps['effect']wheel
onComplete
Called once the target passes.
() => void
speed
number1000
easing
linearease-outease-in-out
ease-out
…and every TextProps propinherited
Edit this page on GitHub
TrademarkTrademark
Built with curiosity by Lorant One and the Design Engineers Club