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| Name | Type | Default | Description |
|---|---|---|---|
preset | "incense" | "mist" | "wraith" | "quick" | "embers" | None | A named look that sets several props at once. A prop you pass yourself wins over it. |
text | string | "Out of thin air" | The headline. |
as | "span" | "div" | "p" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "span" | The element the headline renders as. |
fontSize | number | string | "clamp(2.75rem, 8vw, 6.5rem)" | The font size. |
fontWeight | number | 600 | The font weight. |
letterSpacing | string | "-0.035em" | The letter spacing. |
lineHeight | number | 1.1 | The line height. |
align | "left" | "center" | "right" | "center" | How the lines align. |
color | string | None | The colour of the settled text. Follows the surrounding text by default. |
smokeColor | string | "#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. |
visible | boolean | true | Whether the text is condensed or dissolved back into smoke. |
direction | "left" | "right" | "center" | "edges" | "random" | "left" | The order letters arrive in. |
delay | number | 0.15 | The wait before the first letter, in seconds. |
duration | number | 0.9 | How long one letter takes to condense, in seconds. |
stagger | number | 0.11 | The delay between one letter and the next, in seconds. |
rise | number | 1 | How far the smoke travels before it settles, in em. |
turbulence | number | 1 | How much the smoke wavers sideways. |
softness | number | 1 | How blurred the smoke is. |
density | number | 1 | How thick the smoke is. 0 leaves only the letters. |
speed | number | 1 | The pace of the whole reveal. |
replayOnHover | boolean | false | Replays the reveal when the pointer enters, sweeping in from that side. |
quality | number | 1 | The amount of smoke drawn per letter, 0 to 1. Lower is lighter on slow devices. |
onComplete | () => void | None | Called when the reveal has settled. |
ref | Ref<IncenseTypeHandle> | None | Gives replay, condense and dissolve. |
className | string | None | |
style | CSSProperties | None |