The KineticTypography component breaks down strings into individual framer-motion nodes. By applying mathematical transforms or physics springs to individual letters, it creates powerful "magnetic spline" waves, organic floats, and interactive hover effects. Now updated with 5 animation variants.
Live Preview
3D Elastic:Letters map to your cursor position, creating a 3D magnetic distortion spline.
Installation
npx kinetic-ui-cli@latest add kinetic-typographyVariants
| Variant | Interaction | Description |
|---|---|---|
| elastic | Mouse Move | Maps cursor position to 3D rotation, scaling, and translation for a magnetic spline effect. |
| wave | Auto-playing | Continuous, staggered sine wave oscillation across the text. |
| jump | Hover | Individual letters spring upwards and change color when hovered. |
| float | Auto-playing | Letters drift organically with randomized delays, distances, and rotations. |
| decode | Mount & Hover | Scrambles letters through random characters before settling. Re-triggers on individual letter hover. |
Usage Guide
1. Import the Component
Import the component into your React or Next.js page:
import { KineticTypography } from "@/components/creative/kinetic-typography";
2. Implementation Example
Render the component and customize its behavior by passing props:
import { KineticTypography } from "@/components/creative/kinetic-typography";
export default function Example() {
return (
<div className="w-full flex items-center justify-center p-8">
<KineticTypography
text="example"
intensity{10}
variant{/* value */}
/>
</div>
);
}