2 variants
Text Animations
Color sweeps and reveals for headlines and labels.
Dia text reveal
A color band sweeps across text once, left to right, then settles on the theme foreground color.
import { DiaTextReveal } from "@/components/registry/dia-text-reveal";
export function Headline() {
return <DiaTextReveal text="Ship faster" className="text-4xl font-semibold" />;
}126 more lines ship with an easeUI Pro license.
Buy a licenseInstall
Props
textRequiredstringThe words the color band sweeps across.
colorsstring[]Default the theme accentsSampled across the band, left to right.
textColorstringDefault var(--foreground)What the text settles to once the band has passed.
durationnumberDefault 1.4Sweep length, in seconds.
delaynumberDefault 0Wait before the sweep starts, in seconds.
repeatbooleanDefault falseLoops the sweep instead of running it once.
repeatDelaynumberDefault 1Pause between sweeps, in seconds. Only used when repeat is on.
startOnViewbooleanDefault trueHolds the sweep until the text scrolls into view, so it is not already over by the time it is read.
classNamestringMerged last, so anything passed here wins over the component's own classes.
Text highlight
A marker stroke that draws itself across text once, as a highlight behind it or a wavy underline beneath it.
Ship your next idea with a marker touch.
import { TextHighlight } from "@/components/registry/text-highlight";
export function Callout() {
return (
<p>
Ship your <TextHighlight action="highlight">next idea</TextHighlight> today.
</p>
);
}130 more lines ship with an easeUI Pro license.
Buy a licenseInstall
Props
childrenRequiredReactNodeThe text the mark is drawn across.
action"highlight" | "underline"Default "highlight"A marker box behind the text, or a wavy stroke beneath it.
colorstringDefault var(--accent)Marker color.
durationnumberDefault 0.7Draw length, in seconds.
delaynumberDefault 0Wait before the draw starts, in seconds.
startOnViewbooleanDefault trueHolds the draw until the text scrolls into view.
classNamestringMerged last, so anything passed here wins over the component's own classes.