Back to blocks
Path Drawing Portfolio Hero React component

What is this?

A full-screen hero whose name draws in as an SVG stroke. A small eyebrow sits above, a tagline and scroll cue below. Swap the name and line, then drop it at the top of a portfolio.

Full TSX source. No account needed.

path-drawing-portfolio-hero.tsx

"use client"; import { useEffect, useState, type ReactNode } from "react";import { motion, useReducedMotion } from "motion/react";import { SvgPathDrawingTextAnimation } from "@/components/ui/svg-path-drawing-text-animation";import { cn } from "@/lib/utils"; export type PathDrawingPortfolioHeroProps = {
BlockPass

Path Drawing Portfolio Hero

A full-screen hero whose name draws in as an SVG stroke. A small eyebrow sits above, a tagline and scroll cue below. Swap the name and line, then drop it at the top of a portfolio.

Checking access…
Live Preview

Verified Technical Spec

Animation
Framer Motion
Reduced motion
Verified
Keyboard focus
Not detected in source
Compatibility
Tailwind CSS v3.4 + v4 · React 19 / Next.js 15 App Router + Vite / Remix compatible

Included

  • Copy source into Cursor or Claude for agent install
  • Responsive on phone, tablet, and desktop
  • Finished React · TypeScript · Tailwind CSS · Motion UI

Dependencies

  • React 19.0.0
  • Typescript 5.7.2
  • Tailwindcss 3.4.16
  • Motion 12.42.2

Tech Stack

  • React
  • TypeScript
  • Tailwind CSS
  • Motion

Version 1.0.0