Border Beam
OfficialAn animated beam effect that travels along the border of a container. Perfect for highlighting cards, buttons, or any element that needs attention.
Freeanimationborderbeamglowhighlightcards
0 downloadsOonkooUI Team
Installation
Run the following command:
npx oonkoo add border-beamProps
BorderBeam Props
| Prop | Type | Default |
|---|---|---|
| size | number | 50 |
| duration | number | 6 |
| delay | number | 0 |
| colorFrom | string | "#46CB76" |
| colorTo | string | "#f2ff40" |
| transition | Transition | - |
| className | string | - |
| style | React.CSSProperties | - |
| reverse | boolean | false |
| initialOffset | number | 0 |
| borderWidth | number | 1 |
Usage
Copy and paste the following code to use this component:
import { BorderBeam } from "@/components/oonkoo/border-beam"
<BorderBeam>
{/* Your content */}
</BorderBeam>