Create eye-catching containers with animated shining borders using CSS gradients.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Max-Samson/magicui/llms.txt
Use this file to discover all available pages before exploring further.
Installation
Required CSS
Add this animation to your global CSS:Usage
Props
Width of the border in pixels
Duration of the shine animation in seconds
Color(s) of the border. Can be a single color or array for gradients
Additional CSS classes to apply
Additional inline styles
Examples
Monotone Border
Multi-color Gradient
Custom Duration
Features
- Smooth radial gradient animation
- Support for single or multiple colors
- Customizable border width and speed
- Works with rounded corners
- Absolute positioning for easy layering