Sweep Arcs
backgroundProEt snoet bånd af glødende linjer, der driver hen over lærredet og bøjer mod markøren.
Introduktionspris til og med 31. december 2026. Derefter 79 €.
Preview
Live demo. Temaet skifter selve demoen.
Kode
Koden er låst
Sweep Arcs 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/sweep-arcsclaude mcp add --transport http manniche-ui https://mikkelmanniche.dk/api/mcp --header "Authorization: Bearer $MANNICHE_PRO_KEY"Props
SweepArcsProps
| Prop | Type | Standard | Hvad den gør |
|---|---|---|---|
lineCount | number | 44 | Number of lines in the sheet at full size. Containers narrower than about 900 px get fewer lines automatically. |
thickness | number | 1.3 | Core stroke width in CSS pixels. The glow is drawn around it. |
glow | number | 1 | Strength of the halo around every line, from 0 (crisp hairlines) to 2 (heavy bloom). |
colors | string[] | – | Line colours, blended along the sheet from the first line to the last. Any CSS colour, including var(--x). Defaults to the inherited text colour. |
background | string | – | Background behind the lines. Any CSS colour, including var(--x). Leave it out to keep the container's own background. |
speed | number | 1 | Pace of the sweep. 1 is a slow drift, 0 freezes the sheet (the pointer still bends it), 3 is brisk. |
pointerStrength | number | 1 | How far the arcs bend toward the pointer, from 0 (ignores it) to 2. |
fadeEdges | boolean | true | Fade the left and right ends of the sheet out, so the lines never run into the container's edge. |
children | ReactNode | – | Content drawn above the arcs. |
aria-label | string | – | Accessible name. Give it when the effect carries meaning: the drawing becomes role="img" with this name (children stay accessible). Without it the effect is treated as decoration. |
className | string | – | – |
A11y
Skærmlæser
Decorative by default: the canvas is aria-hidden. An aria-label prop gives it role="img" and that name. Children sit above the canvas and stay reachable by screen readers and keyboard.
Mindre bevægelse
Under reduced motion one still frame is drawn and no pointer listeners are added. Otherwise the canvas animates only while it is on screen and the tab is visible.
Andet
If the canvas cannot start, a gradient replaces it.