A customizable button component with a glowing border animation effect
The GlowButton
component is a customizable button that features a rotating gradient border effect, creating an elegant glowing animation. It’s built with React Native and Expo, perfect for creating eye-catching interactive elements.
No additional installation required if you already have the following dependencies:
Function to call when the button is pressed.
Additional styles for the main container.
The content to render inside the button.
Array of colors for the gradient border effect.
Duration of one complete rotation animation in milliseconds.
Background color of the button’s inner content area.
Additional styles for the inner button container.
Height of the button.
Width of the button.
Border radius of the button.
Margin between the border and inner content.
Whether the button is disabled.
Additional styles for the gradient container.
A customizable button component with a glowing border animation effect
The GlowButton
component is a customizable button that features a rotating gradient border effect, creating an elegant glowing animation. It’s built with React Native and Expo, perfect for creating eye-catching interactive elements.
No additional installation required if you already have the following dependencies:
Function to call when the button is pressed.
Additional styles for the main container.
The content to render inside the button.
Array of colors for the gradient border effect.
Duration of one complete rotation animation in milliseconds.
Background color of the button’s inner content area.
Additional styles for the inner button container.
Height of the button.
Width of the button.
Border radius of the button.
Margin between the border and inner content.
Whether the button is disabled.
Additional styles for the gradient container.