Skip to content
PixiKit

Media Heading

A heading whose letters are windows onto an image or looping video. The media drifts and slides under the letters with the pointer, and the heading arrives by rising, scaling, focusing, wiping or fading in, with an optional spotlight, outline and duotone tint.

pixikit.com/docs/effects/media-heading

Customize

Text
Tag
Media type
Reveal
Trigger
Duration1.10s
Stagger0.09s
Spotlight
Spotlight radius160px
Outline
Outline color
Outline width1.0px
Fill scale1.25
Parallax26px
Drift18px
Hover zoom0.00
Brightness1.00
Saturation1.00
Grayscale
Tint
Align
Weight700
Tracking-0.030em
Line height1.06
Text scale0.115

Props

29
NameTypeDefaultDescription
textstring"Designed in the details"The heading.
tagstring"h2"The element the heading renders as.
mediaType"image" | "video""image"Whether the source behind the letters is an image or a looping muted video. Videos stay paused for reduced motion.
srcstring""The image or video URL. Without one, a built-in gradient shows through.
posterstring""A poster frame used while a video loads.
reveal"rise" | "scale" | "blur" | "wipe" | "fade" | "none""rise"The entrance: words rise into place, letters grow in one after another, the letters draw together while the heading comes into focus, a wipe sweeps across, or the block fades up.
trigger"view" | "mount" | "hover""view"When the entrance runs.
durationnumber1.1The entrance duration, in seconds.
staggernumber0.09The delay between words for the rise reveal, in seconds. The scale reveal steps letter by letter at a third of it.
spotlightbooleanfalseDims and desaturates the media except for a pool of light that follows the pointer, or wanders without one.
spotlightRadiusnumber160The radius of the spotlight, in pixels.
outlinebooleanfalseDraws a thin stroke around every letter. It shows before the entrance, so the media fills the outlines as it arrives.
outlineColorstring""The colour of the outline. Empty follows the surrounding text.
outlineWidthnumber1The thickness of the outline, in pixels.
fillScalenumber1.25How far the media is zoomed past the heading. The overscan is what parallax moves into.
parallaxnumber26How far the media slides under the letters as the pointer moves, in pixels.
driftnumber18The size of the slow idle motion, in pixels. 0 holds the media still.
hoverZoomnumber0Extra zoom the media eases into while the pointer is over the heading. 0.1 is 10% closer.
brightnessnumber1The brightness of the media.
saturationnumber1The saturation of the media.
grayscalebooleanfalseRenders the media in black and white.
tintstring""Colours the media in one colour while keeping its light and shadow, like a duotone print.
align"left" | "center" | "right""center"The text alignment.
weightnumber700The font weight.
trackingnumber-0.03The letter spacing, in em.
lineHeightnumber1.06The line height.
textScalenumber0.115The type size as a share of the container width, so the heading stays responsive.
classNamestringNone
styleCSSPropertiesNone

More text effects in Pro

View all

Related