dioxus-icons-phosphor 0.2.1

Phosphor icons for dioxus framework
Documentation

About

Latest version Build status Documentation Minimum rustc version License

Phosphor icons for dioxus framework

Example

First add to dependencies:

[dependencies]
dioxus-icons-phosphor = { "0.2" }

Then use svg icon component container and icon paths

use dioxus::prelude::*;
use dioxus_icons_phosphor::Icon;
use dioxus_icons_phosphor::Acorn;

#[comonent]
fn page() -> Element {
    rsx!{
        h1 { "Using phosphor icons" }

        Icon {
            icon: Acorn
        }
    }
}

License

This project is licensed under the Apache-2.0 license.

Icon license

Icon Library License Version
Phosphor Icons MIT License main branch