components / scramble

scramble.

wrapper that scrambles every word inside it on hover.

hover to scramble
installation
bunx @justin06lee/chrome@latest add scramble
props
nametypedefaultdescription
children *ReactNode-
asElementType'span'
speednumber30ms between scramble frames
stepnumber1/3chars to lock per frame
backgroundstring-CSS background applied to the root element. transparent by default.