Elastic Mesh
backgroundProEt fjedrende linjegitter bag indholdet, der trækker sig sammen mod markøren, sender en bølge ved tryk og efterlader et glødende spor.
Introduktionspris til og med 31. december 2026. Derefter 79 €.
Preview
Live demo. Temaet skifter selve demoen.
Kode
Koden er låst
Elastic Mesh 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/elastic-meshclaude mcp add --transport http manniche-ui https://mikkelmanniche.dk/api/mcp --header "Authorization: Bearer $MANNICHE_PRO_KEY"Props
ElasticMeshProps
| Prop | Type | Standard | Hvad den gør |
|---|---|---|---|
variant | 'mesh' | 'knots' | 'both' | 'both' | Draw the mesh lines, the knots where they cross, or both. |
gap | number | 30 | Distance between knots in CSS pixels. |
radius | number | 220 | How far from the pointer the pull reaches, in CSS pixels. |
strength | number | 1 | How hard knots are drawn towards the pointer. 1 is a firm pinch, negative values push them away. |
tension | number | 1 | How quickly the mesh springs back. Below 1 it is looser and wobblier, above 1 it is tauter. |
drift | number | 0.5 | A slow swell that keeps the mesh alive when nobody is touching it. 0 turns it off, 1 is a clear swell. |
trail | boolean | true | A fading ribbon behind the pointer. |
ripple | boolean | true | A press or tap sends a ripple through the mesh. |
color | string | 'currentColor' | Colour of the resting mesh. Any CSS colour; defaults to the text colour of gridClassName. |
accentColor | string | 'var(--primary, #7c6cff)' | Colour the mesh warms to where it is stretched, and the colour of the trail. Any CSS colour, including var(--x). |
gridClassName | string | – | Classes for the canvas layer, e.g. text-foreground/60 to colour the resting mesh. |
children | ReactNode | – | Content shown on top of the mesh. |
className | string | – | – |
A11y
Skærmlæser
Decorative only: the canvas is aria-hidden and has no interactive parts. The mesh reacts to the pointer for looks only, so it has no keyboard equivalent.
Mindre bevægelse
Under reduced motion one still frame of the mesh is drawn and it does not react to the pointer. Otherwise the canvas animates only while it is on screen.