Words become a heart
Lettering gives way to a red heart through four choreographed phases.
Component 018Typography
A warm yellow stage transforms “I love you” into a tiny beating heart, framed by moving white bars.
Quick start
Save love-typography.tsx in your components folder, then import it below. Use it in a Next.js project with Tailwind CSS.
import LoveTypography from "@/components/ui/love-typography";
export default function Example() {
return <LoveTypography />;
}Behind the interaction
Lettering gives way to a red heart through four choreographed phases.
Pause or replay the sequence; offscreen animation and background tabs pause automatically.
Inline SVG hearts and scoped CSS travel with the component. No animation package is needed.
Keep exploring
Ten glowing isometric city scenes drawn in SVG, from an office tower and a harbour crane to an airport, a power grid and a night diner. Every figure has its own controls, live status line, and six glow colours in dark or light.
A frosted-glass sign-in and sign-up card with chamfered corners. Switching forms melts the content away, slides the two corner tabs together, sends out a ripple, and reveals the new form.