Gloss Type
textProBlank klistermærkeskrift i en hvilken som helst skrifttype: en tyk, blød kontur, en lys kant, en perlemorsgradient, et vådt glansskær ovenpå og en glans, der fejer hen over en gang imellem, mens ordet svæver lidt.
Introduktionspris til og med 31. december 2026. Derefter 79 €.
Preview
Live demo. Temaet skifter selve demoen.
Kode
Koden er låst
Gloss Type er en del af Manniche UI Pro. En nøgle åbner kildekoden til alle 66 effekter.
Køb · 49 €49 € · Introduktionspris til og med 31. december 2026. Derefter 79 €.
- Engangsbetaling
- Én udvikler
- Log ind og opret din nøgle med det samme
- Ingen moms (§ 19 UStG)
Har du en nøgle? Hent koden med CLI eller MCP.
Nøglen ligger i MANNICHE_PRO_KEY, aldrig i koden eller i adressen. Sådan sætter du den op
npx shadcn@latest add @manniche-pro/gloss-typeclaude mcp add --transport http manniche-ui https://mikkelmanniche.dk/api/mcp --header "Authorization: Bearer $MANNICHE_PRO_KEY"Props
GlossTypeProps
| Prop | Type | Standard | Hvad den gør |
|---|---|---|---|
text påkrævet | string | – | The text. It stays in the page as real, selectable text and is read once. |
as | ElementType | 'span' | The element to render, e.g. h1 or span. |
tone | GlossTypeTone | 'candy' | A ready-made paint set. |
colors | Partial<GlossTypeColors> | – | Overrides single paints of the tone. |
outline | number | 0.085 | Thickness of the outline in em, so it scales with the font size. |
sheen | boolean | true | Let a sheen sweep across the letters now and then. |
sheenEvery | number | 4200 | Milliseconds between two sheen sweeps. |
float | boolean | true | Let the sticker float up and down a little. |
className | string | – | Classes for the element. Set the font (a heavy weight reads best), size and alignment here. |
style | CSSProperties | – | Inline style for the element. |
A11y
Skærmlæser
The gradient fill is the real text, so it is read once and selects normally. The outline, rim, highlight and sheen are aria-hidden copies. The heading level follows as.
Mindre bevægelse
Under reduced motion there is no sweep and no float, but the gloss itself stays. The animations pause off screen.
Andet
Contrast comes from the outline against the background, so pick a tone that stands apart from it. Candy and pearl suit light backgrounds; chrome and lime suit dark ones. Use it for display words, not for body text.