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

LetterFx

Updated: May 11, 2025
View on GitHub
LetterFx animates text character-by-character using randomized symbols that resolve into the final message. It supports multiple trigger types and speeds.
Prop
Type
Default
children
React.ReactNode
trigger
What starts it. "custom" waits for the function handed to onTrigger.
hoverinstantcustom
hover
speed
How fast the letters settle.
fastmediumslow
medium
charset
Characters it scrambles through on the way.
string[]defaultCharset
onTrigger
Receives a function that starts it, when trigger is "custom".
(triggerFn: () => void) => void
className
string
style
React.CSSProperties
Edit this page on GitHub
TrademarkTrademark
Built with curiosity by Lorant One and the Design Engineers Club