StealThis .dev

Portfolio — Hero / Intro Header Variants

Three drop-in portfolio hero headers for the same fictional designer, stacked so you can compare and copy the one you like. A centered name with role, one-liner and copy-email CTA; a split layout pairing intro text with an animated CSS avatar shape; and a big kinetic name with a self-typing role rotator. Vanilla JS powers the rotating titles, a cursor-follow gradient glow and a clipboard copy-email button with toast feedback. Neutral Inter base, accessible, responsive.

Open in Lab
html css vanilla-js
Targets: JS HTML

Code

Hero / Intro Header Variants

Three self-contained portfolio headers for the same person, stacked on one page so you can audition each style side by side and lift the one that fits. They share a neutral Inter palette and the same content — name, role, one-liner and calls to action — re-skinned three ways: a centered classic, a split text-plus-avatar layout, and a kinetic oversized name.

Every interaction actually works. The kinetic header runs a self-typing role rotator that cycles through six titles with a blinking caret, the split header has a cursor-follow gradient glow that tracks the pointer across the panel, and both the centered and kinetic headers carry a copy-email button that writes the address to the clipboard and confirms with a toast. The avatar is a pure-CSS morphing blob with an inline-SVG face and floating skill chips — no images or external assets beyond the Google Fonts link.

It is built to be pasted in: each <section> is an independent drop-in <header> you can take on its own. The layout collapses gracefully to a single column on tablets and full-width buttons on phones, respects prefers-reduced-motion (the rotator falls back to a quiet cross-fade), and keeps WCAG AA contrast with visible focus rings and a skip link.

Illustrative portfolio — fictional person and projects.