The <luna-animation> component displays animations using lightweight video formats (WebM, MP4) or GIF images with automatic looping and playback.
Paths
/lunadom/components/animation/animation.js WebM Video (Recommended)
Best compression and quality. Supported by modern browsers.
Custom Sizing
Small (200px)
Medium (400px)
Large (600px)
Custom Border Radius
Customization
default - Animation contentsrc-webm - WebM video source (recommended for best compression)src-mp4 - MP4 video source (fallback)src-gif - GIF image source (fallback)width - Width of animation (default: "100%")height - Height of animation (default: "auto")--luna-radius - Border radius