Edge Glow
A card whose border lights up with a colored mesh gradient and an outer glow in the direction of the pointer as it nears the edge.
pixikit.com/docs/components/edge-glow
Customize
Edge sensitivity30
Background color
Border radius28px
Glow radius40px
Glow intensity1.0
Cone spread25
Animated
Colors3 of 10
Props
11| Name | Type | Default | Description |
|---|---|---|---|
children | ReactNode | None | Content rendered inside the card. |
className | string | "" | Additional CSS classes for the outer wrapper. |
edgeSensitivity | number | 30 | How close the pointer must be to the edge for the glow to appear (0-100). |
glowColor | string | "40 80 80" | HSL values for the glow color, as "H S L" (e.g. "40 80 80"). |
backgroundColor | string | "#120F17" | Background color of the card. |
borderRadius | number | 28 | Corner radius of the card in pixels. |
glowRadius | number | 40 | How far the outer glow extends beyond the card in pixels. |
glowIntensity | number | 1 | Multiplier for glow opacity (0.1-3.0). |
coneSpread | number | 25 | Width of the directional cone mask as a percentage (5-45). |
animated | boolean | false | Play an intro sweep animation on mount. |
colors | string[] | ["#c084fc", "#f472b6", "#38bdf8"] | Array of 3 hex colors for the mesh gradient border, distributed across positions. |