Rainbow Button
A rainbow effect on button.
API
Prop Name | Type | Default | Description |
---|---|---|---|
class | string | "" | Additional CSS classes to apply to the button. |
is | string | "button" | The HTML tag to render for the component. |
speed | number | 2 | Duration of the animation in seconds. |
Component Code
You can copy and paste the following code to create these components:
RainbowButton.vue
Credits
- Credits to Grzegorz Krol for porting this component.
- Credits to Magic UI.