Skip to content
PixiKit

Incense Type

A headline that condenses out of drifting smoke: each letter arrives as a soft coloured haze that slides in, sharpens and settles into ink, and can dissolve back the same way.

pixikit.com/docs/effects/incense-type

Customize

Preset
Font size84px
Font weight
Line height1.10
Align
Color
Smoke color
Trigger
Visible
Direction
Delay0.15s
Duration0.90s
Stagger0.11s
Rise1.00em
Turbulence1.00
Softness1.00
Density1.00
Speed1.00
Replay on hover
Quality1.00

Props

27
NameTypeDefaultDescription
preset"incense" | "mist" | "wraith" | "quick" | "embers"NoneA named look that sets several props at once. A prop you pass yourself wins over it.
textstring"Out of thin air"The headline.
as"span" | "div" | "p" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6""span"The element the headline renders as.
fontSizenumber | string"clamp(2.75rem, 8vw, 6.5rem)"The font size.
fontWeightnumber600The font weight.
letterSpacingstring"-0.035em"The letter spacing.
lineHeightnumber1.1The line height.
align"left" | "center" | "right""center"How the lines align.
colorstringNoneThe colour of the settled text. Follows the surrounding text by default.
smokeColorstring"#B19EEF"The colour of the smoke the letters form from.
trigger"view" | "mount" | "manual""view"When the first reveal plays: in view, on mount, or only when visible turns true.
visiblebooleantrueWhether the text is condensed or dissolved back into smoke.
direction"left" | "right" | "center" | "edges" | "random""left"The order letters arrive in.
delaynumber0.15The wait before the first letter, in seconds.
durationnumber0.9How long one letter takes to condense, in seconds.
staggernumber0.11The delay between one letter and the next, in seconds.
risenumber1How far the smoke travels before it settles, in em.
turbulencenumber1How much the smoke wavers sideways.
softnessnumber1How blurred the smoke is.
densitynumber1How thick the smoke is. 0 leaves only the letters.
speednumber1The pace of the whole reveal.
replayOnHoverbooleanfalseReplays the reveal when the pointer enters, sweeping in from that side.
qualitynumber1The amount of smoke drawn per letter, 0 to 1. Lower is lighter on slow devices.
onComplete() => voidNoneCalled when the reveal has settled.
refRef<IncenseTypeHandle>NoneGives replay, condense and dissolve.
classNamestringNone
styleCSSPropertiesNone

Related