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.
Å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
elastic-mesh.tsxPro
Koden er låst
Elastic Mesh 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/elastic-meshMCP
claude 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
Ingen a11y-noter skrevet endnu.
Noterne kommer sammen med kildekoden, når Pro åbner.