Glyph Lens
imageProEt foto sat i monospace-skrift med et drivende lysbånd og flimmer. Markøren åbner en linse ind til fotoet, omkranset af tegn i accentfarven.
Åbner snart
Pro kan ikke købes endnu. Siden åbner, når betalingen er klar.
Preview
Forhåndsvisningen kunne ikke hentes.
Live demo. Temaet skifter selve demoen.
Kode
glyph-lens.tsxPro
Koden er låst
Glyph Lens er en del af Manniche UI Pro. En nøgle åbner kildekoden til alle 60 effekter.
Åbner snart49 € · Introduktionspris til og med 31. december 2026. Derefter 79 €.
- Engangsbetaling
- Én udvikler
- Nøglen kommer på mail 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
CLI
npx shadcn@latest add @manniche-pro/glyph-lensMCP
claude mcp add --transport http manniche-ui https://mikkelmanniche.dk/api/mcp --header "Authorization: Bearer $MANNICHE_PRO_KEY"Props
GlyphLensProps
| Prop | Type | Standard | Hvad den gør |
|---|---|---|---|
src påkrævet | string | – | The photo. Cross-origin images must be served with CORS headers, or the still image is shown instead. |
alt påkrævet | string | – | Describes the photo for screen readers. |
ramp | string | ' .,:;+=xX%#@' | Characters from darkest to brightest. The first one is usually a space. |
columns | number | 120 | Roughly how many characters fit across the box. Never smaller than 6 CSS pixels per character. |
contrast | number | 1.25 | Tone contrast before the characters are picked. 1 leaves the photo as it is. |
invert | boolean | false | Swaps the ramp, so bright parts of the photo get the sparse characters. |
color | 'mono' | 'tint' | 'mono' | mono prints every character in ink; tint prints each in the colour of the photo beneath it. |
ink | string | '#ebe7dd' | Character colour in mono, as hex. |
background | string | '#0a0a0b' | Background colour, as hex. |
accent | string | '#ff6a3d' | Colour of the characters around the edge of the lens, as hex. |
radius | number | 140 | Radius of the lens in CSS pixels. |
softness | number | 0.15 | 0 opens the lens cell by cell; 1 opens it as a soft circle. |
trail | number | 0.45 | 0 to 1: how long the lens lingers where the pointer has been. |
flicker | number | 0.35 | 0 to 1: how often characters flicker to a random one. |
wave | number | 0.6 | 0 to 1: how strongly a slow band of light drifts through the characters. |
fit | 'cover' | 'contain' | 'cover' | cover crops the photo to fill the box, contain shows all of it. |
focusX | number | 0.5 | Horizontal focus point from 0 (left) to 1 (right), used when cover crops the photo. |
focusY | number | 0.5 | Vertical focus point from 0 (top) to 1 (bottom), used when cover crops the photo. |
children | ReactNode | – | Content shown on top of the characters. |
className | string | – | – |
A11y
Ingen a11y-noter skrevet endnu.
Noterne kommer sammen med kildekoden, når Pro åbner.