Write a launch post for our new electric borders. Keep it short and upbeat.
More cursor effects in Pro
Cursor trails and pointer effects that give a site its own feel.
children | ReactNode | Content wrapped by the electric border. | |
color | '#7df9ff' | Color of the current. The strands burn whiter at their core. | |
glowColor | Color of the glow around the strands. Defaults to color. | ||
speed | How fast the current crackles and moves. | ||
chaos | 0.5 | How jagged the strands are, from 0 to 2. | |
spread | 0.6 | How far the strands wander from the edge, from 0 to 2. | |
thickness | 1.5 | Thickness of the strands, in px. | |
strands | 3 | Number of strands running along the edge, from 1 to 6. | |
glow | 0.6 | Strength of the glow around the border. | |
intensity | 0.8 | Overall brightness of the current. | |
arcs | How often sparks leap off the border. 0 turns them off. | ||
flicker | 0.5 | How much the current flickers, from 0 to 1. | |
borderRadius | 24 | Corner radius of the border, in px. Match it to your content. | |
offset | Moves the border outward from the edge of the content, in px. Negative values move it inward. | ||
active | Powers the border on or off. Turning it on sends the current racing around the edge again. | ||
| The current races around the edge from the top when the border mounts. | |||
interactive | The current surges near the cursor and clicks send a jolt around the edge. | ||
cursorRadius | 90 | Size of the area around the cursor where the current surges, in px. | |
theme | 'dark' | 'light' | 'dark' | Glowing light for dark pages, or crisp ink with a white core for light ones. |
| Extra class names for the wrapper. | |||
| Inline styles for the wrapper. |
childrenReactNodeContent wrapped by the electric border.
colorstringColor of the current. The strands burn whiter at their core.
'#7df9ff'glowColorstringColor of the glow around the strands. Defaults to color.
speednumberHow fast the current crackles and moves.
chaosnumberHow jagged the strands are, from 0 to 2.
0.5spreadnumberHow far the strands wander from the edge, from 0 to 2.
0.6thicknessnumberThickness of the strands, in px.
1.5strandsnumberNumber of strands running along the edge, from 1 to 6.
3glownumberStrength of the glow around the border.
0.6intensitynumberOverall brightness of the current.
0.8arcsnumberHow often sparks leap off the border. 0 turns them off.
flickernumberHow much the current flickers, from 0 to 1.
0.5borderRadiusnumberCorner radius of the border, in px. Match it to your content.
24offsetnumberMoves the border outward from the edge of the content, in px. Negative values move it inward.
activebooleanPowers the border on or off. Turning it on sends the current racing around the edge again.
introbooleanThe current races around the edge from the top when the border mounts.
interactivebooleanThe current surges near the cursor and clicks send a jolt around the edge.
cursorRadiusnumberSize of the area around the cursor where the current surges, in px.
90theme'dark' | 'light'Glowing light for dark pages, or crisp ink with a white core for light ones.
'dark'Extra class names for the wrapper.
Inline styles for the wrapper.



