Skip to main content

Crate lepticons_animate

Crate lepticons_animate 

Source
Expand description

Icon animations for Leptos – stroke draw-in, spin, pulse, bounce.

§Quick Start

use lepticons::LucideGlyph;
use lepticons_animate::DrawIcon;

// Stroke draw-in animation
<DrawIcon glyph=LucideGlyph::Check duration_ms=500 />

// CSS utility animations (use class on the standard Icon component)
use lepticons::Icon;
<Icon glyph=LucideGlyph::Loader class="lepticons-spin" />
<Icon glyph=LucideGlyph::Bell class="lepticons-bounce" />

Enums§

Easing
CSS transition timing function for stroke draw-in animation.

Functions§

AnimationStyles
Injects the CSS animation utility classes into the document.
DrawIcon
Renders an icon with a stroke draw-in animation.