Smoke Type
textProText, der sich Buchstabe für Buchstabe aus Rauch verdichtet und sich wieder darin auflöst, einzeilig, mehrzeilig oder an Ort und Stelle, beim Laden, Hover oder Scrollen, mit optionaler Hitzeflimmer-Turbulenz.
Einführungspreis bis einschließlich 31. Dezember 2026. Danach 79 €.
Vorschau
Live-Demo. Das Theme schaltet die Demo selbst um.
Code
Der Code ist gesperrt
Smoke Type gehört zu Manniche UI Pro. Ein Schlüssel öffnet den Quellcode aller 66 Effekte.
Kaufen · 49 €49 € · Einführungspreis bis einschließlich 31. Dezember 2026. Danach 79 €.
- Einmalzahlung
- Ein Entwickler
- Melde dich an und erstelle deinen Schlüssel sofort
- Keine Umsatzsteuer (§ 19 UStG)
Hast du einen Schlüssel? Hol den Code mit der CLI oder per MCP.
Der Schlüssel liegt in MANNICHE_PRO_KEY, nie im Code oder in der Adresse. So richtest du ihn ein
npx shadcn@latest add @manniche-pro/smoke-typeclaude mcp add --transport http manniche-ui https://mikkelmanniche.dk/api/mcp --header "Authorization: Bearer $MANNICHE_PRO_KEY"Props
SmokeTypeProps
| Prop | Typ | Standard | Was sie tut |
|---|---|---|---|
text | string | '' | The text. In in-place mode, changing it dissolves the old text while the new one condenses in the same spot. |
phrases | string[] | – | Phrases that take turns in the same spot (any mode, made for in-place). When set, text is ignored. |
hold | number | 2600 | Milliseconds each phrase stays readable before the next one forms. |
mode | SmokeTypeMode | 'single-line' | single-line keeps the text on one line (it only wraps when it is wider than its container), multi-line lets it wrap and sweeps the reveal down the lines like a wave, in-place swaps phrases inside one reserved box (width and height come from the widest and tallest). |
from | SmokeTypeFrom | 'start' | Where the reveal starts: start the first letter (top left), end the last letter and runs backwards, bottom-left the last line first, each line still left to right. |
trigger | SmokeTypeTrigger | 'mount' | When it plays: mount as soon as it is on screen, scroll when it scrolls into view (and resets when it leaves, unless once), hover the text is readable at rest and puffs away and re-forms when the pointer enters. |
once | boolean | true | For scroll: play only the first time. Set to false to replay each time it comes back into view. |
intensity | number | 1 | How thick the smoke is: scales blur, drift, wisp size and turbulence. 0 is a plain staggered fade, 1 is the default, 2 is heavy. |
duration | number | 1100 | Time each letter takes to form, in milliseconds. |
stagger | number | 55 | Delay between letters in milliseconds (shrinks automatically so a long text never takes more than about three seconds). |
easing | string | 'cubic-bezier(0.22, 0.8, 0.24, 1)' | CSS easing of every letter, e.g. cubic-bezier(0.22, 0.8, 0.24, 1) or ease-out. |
turbulence | number | 0.35 | Strength of the optional SVG turbulence that makes the whole line wobble like heat haze while it plays, 0 to 1. 0 turns it off. |
smokeColor | string | – | Colour of the drifting wisps behind each letter. Defaults to the text colour (currentColor). |
playKey | string | number | – | Change this value to play the effect again (it dissolves first, then re-forms). |
onRevealed | () => void | – | Called when a reveal has finished. |
as | ElementType | 'span' | Element to render, e.g. h1 or p. |
className | string | – | Classes for the wrapper. It is inline-grid by default; pass grid for a full-width block. |
A11y
Screenreader
The real text sits once in a visually hidden span and is read as plain text; every smoke layer is aria-hidden. With phrases only the current phrase is exposed and nothing is announced when it changes. The heading level follows as.
Reduzierte Bewegung
Under reduced motion each reveal is a plain 0.3 s cross-fade and phrases do not take turns, so only the first phrase shows. Otherwise phrases take turns every hold plus duration, and the cycle holds while the pointer is over the text. There is no built-in pause control for keyboard or touch users. Nothing runs off screen or in hidden tabs.
Sonstiges
With trigger="hover" the text is readable at rest, and the puff on pointer enter or tap is purely decorative, so it has no keyboard equivalent.