icons 0.5.2

Icons for Rust fullstack applications — Leptos and Dioxus.
Documentation
/* Instagram icon line drawing animation */
/* Base state: Match initial="normal" state from TSX - elements visible by default */
[data-name="InstagramAnimate"] rect[width="20"][height="20"][x="2"][y="2"] {
    opacity: 1;
    stroke-dasharray: 80;
    stroke-dashoffset: 0;
}

[data-name="InstagramAnimate"] path[d="M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"] {
    opacity: 1;
    stroke-dasharray: 25;
    stroke-dashoffset: 0;
}

[data-name="InstagramAnimate"] line[x1="17.5"][x2="17.51"][y1="6.5"][y2="6.5"] {
    opacity: 1;
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
}

/* Animation: All elements draw simultaneously on hover */
[data-name="InstagramAnimate"]:hover rect[width="20"][height="20"][x="2"][y="2"] {
    animation: drawRect 0.6s linear;
}

[data-name="InstagramAnimate"]:hover path[d="M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"] {
    animation: drawPath 0.6s linear;
}

[data-name="InstagramAnimate"]:hover line[x1="17.5"][x2="17.51"][y1="6.5"][y2="6.5"] {
    animation: drawLine 0.6s linear;
}

/* Keyframes for rect (camera body) */
@keyframes drawRect {
    0% {
        opacity: 0;
        stroke-dashoffset: 80;
    }
    16.67% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        stroke-dashoffset: 0;
    }
}

/* Keyframes for path (camera lens) */
@keyframes drawPath {
    0% {
        opacity: 0;
        stroke-dashoffset: 25;
    }
    16.67% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        stroke-dashoffset: 0;
    }
}

/* Keyframes for line (flash dot) */
@keyframes drawLine {
    0% {
        opacity: 0;
        stroke-dashoffset: 1;
    }
    16.67% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        stroke-dashoffset: 0;
    }
}