skeleton-rs 0.0.2

🦴 A highly customizable skeleton component for WASM frameworks like Yew, Dioxus, and Leptos.
Documentation
#[derive(Clone, PartialEq, Default)]
pub enum Variant {
    #[default]
    Text,
    Circular,
    Rectangular,
    Rounded,
    Image,
    Avatar,
    Button,
}

#[derive(Clone, PartialEq, Default)]
pub enum Animation {
    #[default]
    Pulse,
    Wave,
    None,
}

#[derive(Clone, PartialEq, Default)]
pub enum Theme {
    #[default]
    Light,
    Dark,
    Custom(&'static str),
}

#[derive(Clone, PartialEq, Default)]
pub enum Direction {
    #[default]
    LeftToRight,
    RightToLeft,
    TopToBottom,
    BottomToTop,
    CustomAngle(i64),
}