Skip to content

Component 018Typography

Love Typography

A warm yellow stage transforms “I love you” into a tiny beating heart, framed by moving white bars.

  • Next.js
  • Tailwind CSS
  • TypeScript
Watch the lettering transform, pause it, or replay the sequence.
Loading preview…
Live interactive preview

Quick start

Make it yours.

Save love-typography.tsx in your components folder, then import it below. Use it in a Next.js project with Tailwind CSS.

TSXapp/page.tsx
import LoveTypography from "@/components/ui/love-typography";

export default function Example() {
  return <LoveTypography />;
}

Behind the interaction

The details that make it work.

Designed to explore, ready to adapt.

Words become a heart

Lettering gives way to a red heart through four choreographed phases.

Your pace

Pause or replay the sequence; offscreen animation and background tabs pause automatically.

A small standalone animation

Inline SVG hearts and scoped CSS travel with the component. No animation package is needed.

Keep exploring

View all components