Click Pop
cursorProSeks klikeffekter (gnist, bølge, konfetti, sigtekorn, krusedulle, låsning), der afspilles, hvor en besøgende end klikker, uden nogensinde at blokere klikket.
Introduktionspris til og med 31. december 2026. Derefter 79 €.
Preview
Live demo. Temaet skifter selve demoen.
Kode
Koden er låst
Click Pop 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/click-popclaude mcp add --transport http manniche-ui https://mikkelmanniche.dk/api/mcp --header "Authorization: Bearer $MANNICHE_PRO_KEY"Props
ClickPopProps
| Prop | Type | Standard | Hvad den gør |
|---|---|---|---|
variant | ClickPopVariant | 'spark' | The effect that plays where you click: ripple two rings that spread and fade, spark tapered rays that shoot out, confetti paper bits that fall with gravity, reticle corner brackets that snap onto the point, squiggle wavy lines that wriggle outwards, lock-on a ring that closes in and bursts on impact. |
color | string | – | Stroke colour. Defaults to the text colour of the effect layer (currentColor). |
palette | string[] | PALETTE | Colours for confetti; the others use color. |
size | number | 46 | How far the effect reaches from the click, in pixels. |
strokeWidth | number | 2 | Line width in pixels. |
rotation | number | 0 | Turns the whole pattern, in degrees. |
duration | number | 620 | Length of one effect in milliseconds (confetti runs half as long again). |
count | number | – | Rays, rings, particles or lines; each variant has its own default. |
scope | 'window' | 'container' | 'window' | window fires on clicks anywhere on the page; container only inside this component's box. |
touch | boolean | true | Also play on taps on touch screens. |
disabled | boolean | false | Stops new effects; running ones finish. |
children | ReactNode | – | Content of the container; with scope="window" it is rendered as is. |
className | string | – | Classes for the wrapper (container scope). |
layerClassName | string | – | Classes for the effect layer, e.g. text-primary to colour it. |
A11y
Tastatur
Pressing Enter or Space on a button or link plays the effect at the centre of that element, so the feedback is not mouse-only.
Skærmlæser
The effect canvas is aria-hidden and has pointer-events: none, so it never takes clicks or focus and is not announced. The effect adds no information beyond what the click already does.
Mindre bevægelse
Under reduced motion every variant becomes one soft ring that fades in place. The drawing loop runs only while an effect is playing. Taps on touch screens play only when touch is true, and disabled stops new effects.