About
Mousemove effect to reveal text content at the bottom of the card.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Text Reveal Card to your project and fits it to your theme.
Code
How Text Reveal Card is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import React from "react";
import {
TextRevealCard,
TextRevealCardDescription,
TextRevealCardTitle,
} from "@/components/ui/text-reveal-card";
export function TextRevealCardPreview() {
return (
<div className="flex items-center justify-center bg-[#0E0E10] h-[40rem] rounded-2xl w-full">
<TextRevealCard
text="You know the business"
revealText="I know the chemistry "
>
<TextRevealCardTitle>
Sometimes, you just need to see it.
</TextRevealCardTitle>
<TextRevealCardDescription>
This is a text reveal card. Hover over the card to reveal the hidden
text.
</TextRevealCardDescription>
</TextRevealCard>
</div>
);
}
















