An elegant layout technique where hovering over a large typographical element slices it horizontally using CSS clip-path and animates the two halves apart, revealing hidden content (like a call-to-action or video) in the newly created negative space.
Live Preview
Installation
npx kinetic-ui-cli@latest add text-split-revealUsage Guide
1. Import the Component
Import the component into your React or Next.js page:
import { TextSplitReveal } from "@/components/creative/text-split-reveal";
2. Implementation Example
Render the component and customize its behavior by passing props:
import { TextSplitReveal } from "@/components/creative/text-split-reveal";
export default function Example() {
return (
<div className="w-full flex items-center justify-center p-8">
<TextSplitReveal
text="example"
revealContent{/* value */}
/>
</div>
);
}