Skip to content
Magic UI SolidMagicUI Solid

Hyper Text

A text animation that scrambles letters before revealing the final text.

HOVER ME!
@/demos/HyperTextDemo.tsx
import { HyperText } from '@/registry/magicui/hyper-text'
export function HyperTextDemo() {
return <HyperText>Hover Me!</HyperText>
}
Terminal window
pnpm dlx shadcn@latest add @magicui-solid/hyper-text
import { HyperText } from '@/components/magicui/hyper-text'
<HyperText>Hover me</HyperText>
Prop Type Default Description
children string - Text content to animate
class string - The class name to be applied to the component
duration number 800 Duration of the animation in milliseconds
delay number 0 Delay before animation starts (in ms)
as ValidComponent "div" Component to render as
startOnView boolean false Start animation when component is in view
animateOnHover boolean true Enable hover animation
characterSet string[] A-Z Custom character set for scramble effect

Original:

magicui.design/docs/components/hyper-text