Morphing Text
Morphing Text transitions between strings supplied in texts.
Practical React example
Rotate a small set of supplementary descriptors beside a stable product statement.
Before you copy and paste
Match the imported component’s client or server rendering boundary before using the example. Copy components/magicui/morphing-text.tsx and its returned support files from the Code tab; preserve the project-relative paths.
Use the Code tab for the component files and installation instructions, then adapt the imports in this example to your project.
Rotate a small set of supplementary descriptors beside a stable product statement
// Usage adapted from Magic UI's pinned MIT source.
// Copyright (c) Magic UI. See ./LICENSES.md.
'use client';
import { MorphingText } from "@/components/magicui/morphing-text"
export function ComponentExample() {
return (
<MorphingText texts={["Hello", "World"]} />
);
}
Usage example adapted from Magic UI's pinned MIT source. Retain the source licence notices when copying.
Reserve enough space for the longest string and keep the central product promise in ordinary static text nearby.
Customization
- MorphingTextProps.className
- Optional; string.
- MorphingTextProps.texts
- Required; string[].
Integration notes
- Do not put mutually exclusive prices, conditions or required instructions in a cycling message.
- Test reduced motion, text zoom and how assistive technology receives the changing words.
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.