Hyper Text
Hyper Text changes the visible characters during a text transition.
Practical React example
Apply a brief scramble effect to a short decorative heading.
Before you copy and paste
Match the imported component’s client or server rendering boundary before using the example. Copy components/magicui/hyper-text.tsx and its returned support files from the Code tab; preserve the project-relative paths.
Listed package dependencies: motion.
Use the Code tab for the component files and installation instructions, then adapt the imports in this example to your project.
Apply a brief scramble effect to a short decorative heading
// Usage adapted from Magic UI's pinned MIT source.
// Copyright (c) Magic UI. See ./LICENSES.md.
'use client';
import { HyperText } from "@/components/magicui/hyper-text"
export function ComponentExample() {
return (
<HyperText>Hover me</HyperText>
);
}
Usage example adapted from Magic UI's pinned MIT source. Retain the source licence notices when copying.
Keep the final wording meaningful and stable, and avoid using the effect on addresses, prices or instructions that must be read precisely.
Customization
- HyperTextProps.children
- Required; string. The text content to be animated
- HyperTextProps.className
- Optional; string. Optional className for styling
- HyperTextProps.duration
- Optional; number. Duration of the animation in milliseconds
- HyperTextProps.delay
- Optional; number. Delay before animation starts in milliseconds
- HyperTextProps.as
- Optional; MotionElementType. Component to render as - defaults to div
- HyperTextProps.startOnView
- Optional; boolean. Whether to start animation when element comes into view
- HyperTextProps.animateOnHover
- Optional; boolean. Whether to trigger animation on hover
- HyperTextProps.characterSet
- Optional; CharacterSet. Custom character set for scramble effect. Defaults to uppercase alphabet
Integration notes
- Check how assistive technology receives the text during the animation.
- Provide readable content when animation or JavaScript is unavailable.
Component source: Magic UI documentation . These examples describe the version imported into Rendyn. Upstream APIs may have changed; retain the source licence notices when adapting the code.
Give your agent taste.
The best way to use Rendyn is through MCP. Let your agent find the right component, compare previews and bring the source into your project.
All components are free. Sign up only to connect MCP.