Glow Border

An animated border effect.

API

Prop NameTypeDefaultDescription
durationnumber10Duration of the glowing border animation.
colorstring | string[]#FFFColor or array of colors to applied on the glowing border.
borderRadiusnumber10Radius of the border.
borderWidthnumber2Width of the border.

Component Code

You can copy and paste the following code to create these components:

GlowBorder.vue

Credits

  • Credits to Magic UI for this fantastic component.