Skip to main content

lepticons_animate/
lib.rs

1//! Icon animations for Leptos -- stroke draw-in, spin, pulse, bounce.
2//!
3//! # Quick Start
4//!
5//! ```rust,ignore
6//! use lepticons::LucideGlyph;
7//! use lepticons_animate::DrawIcon;
8//!
9//! // Stroke draw-in animation
10//! <DrawIcon glyph=LucideGlyph::Check duration_ms=500 />
11//!
12//! // CSS utility animations (use class on the standard Icon component)
13//! use lepticons::Icon;
14//! <Icon glyph=LucideGlyph::Loader class="lepticons-spin" />
15//! <Icon glyph=LucideGlyph::Bell class="lepticons-bounce" />
16//! ```
17
18mod draw_icon;
19mod css_animations;
20mod easing;
21
22pub use draw_icon::DrawIcon;
23pub use css_animations::AnimationStyles;
24pub use easing::Easing;