Skip to content

Halo Glow Effect

The Halo component is used to add a dynamic glow effect to its child elements, enhancing the visual appeal and depth of the user interface. This component supports customization of glow color, radius, and animation duration, offering high flexibility and customization.

Basic Usage

Use the glow effect by wrapping content within the <ol-halo> tag.

Rainbow Glow Effect

You can pass an array of colors to create a gradient glow effect and set the animation time. This effect adds more visual interest and dynamism to the user interface.

Animation Duration

You can pass an animation duration to set the glow effect's animation time. Adjusting the animation duration can affect the speed and smoothness of the glow effect, providing more customization possibilities.

Custom Glow Radius

You can pass a glow radius to set the radius of the glow effect. Adjusting the glow radius can affect the range and intensity of the glow effect, providing more customization possibilities.

Offset Glow Effect

You can pass offset values to set the offset position of the glow effect. Adjusting the offset values can affect the position and direction of the glow effect, providing more customization possibilities.

Properties

Property NameDescriptionTypeDefault Value
isThe HTML tag to renderstring'div'
halo-colorGlow color, can be a single color or an array of colorsstring | string[]-
durationAnimation duration (milliseconds)number5000
halo-radiusGlow radius (em)number6
offset-xX-axis offsetnumber | string0
offset-yY-axis offsetnumber | string0