Charge Border
borderProEn knitrende elektrisk kant om vilkårligt indhold, tegnet to gange langs en sti, som støj forskyder: én gang som glød og én gang som en skarp kerne.
Introduktionspris til og med 31. december 2026. Derefter 79 €.
Preview
Live demo. Temaet skifter selve demoen.
Kode
Koden er låst
Charge Border 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/charge-borderclaude mcp add --transport http manniche-ui https://mikkelmanniche.dk/api/mcp --header "Authorization: Bearer $MANNICHE_PRO_KEY"Props
ChargeBorderProps
| Prop | Type | Standard | Hvad den gør |
|---|---|---|---|
children | ReactNode | – | The content to wrap. The border takes the size of this content (or of the className size) and follows it when it resizes. |
className | string | – | Extra classes for the wrapper. Size, padding and background of the framed content go here. |
color | string | 'currentColor' | Colour of the crisp core line. Any CSS colour, including currentColor and var(--x). The core is drawn brighter than this colour. |
glowColor | string | – | Colour of the glow around the line. Defaults to color. |
chaos | number | 0.55 | How wild the crackle is, from 0 (a calm, wavy line) to 1 (violent, spiky). |
speed | number | 1 | How fast the line changes, 1 is a lively crackle. |
thickness | number | 1.5 | Width of the core line in CSS pixels. |
glow | number | 1 | How strong the glow is, from 0 (none) to 2 (a heavy bloom). |
radius | number | 16 | Corner radius of the frame in CSS pixels. It is also applied to the wrapper, so the content can be clipped to match. |
bleed | number | 28 | Extra room around the frame for the glow and the crackle to spill into, in CSS pixels. Costs nothing in layout. |
active | boolean | true | Turn the crackle on or off. It fades in and out and the loop sleeps while it is off, handy for "charge on hover". |
seed | number | 7 | Seed for the noise, so several borders next to each other do not crackle in unison. |
A11y
Skærmlæser
Decorative only: the canvas border is aria-hidden and has no interactive parts.
Mindre bevægelse
Under reduced motion one still frame is drawn. Otherwise the canvas animates only while it is on screen and active is true.