pub fn AnimationStyles() -> impl IntoViewExpand description
Injects the CSS animation utility classes into the document.
Place this component once at the top of your app to enable
.lepticons-spin, .lepticons-pulse, .lepticons-bounce, and .lepticons-ping
CSS classes on any <Icon> component.
§Example
ⓘ
use lepticons_animate::AnimationStyles;
use lepticons::{Icon, LucideGlyph};
// In your app root:
view! {
<AnimationStyles />
<Icon glyph=LucideGlyph::Loader class="lepticons-spin" />
<Icon glyph=LucideGlyph::Bell class="lepticons-bounce" />
}