dioxus-icons-fa 0.2.1

Font Awesome icons for dioxus framework
Documentation

About

Latest version Build status Documentation Minimum rustc version License

Font Awesome icons for Dioxus

Example

First add to dependencies:

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

Then use svg icon component container and icon paths

use dioxus::prelude::*;
use dioxus_icons_fa::Icon;
use dioxus_icons_fa::regular::AddressBook;

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

        Icon {
            width: "32",
            height: "32",
            icon: AddressBook
        }
    }
}

License

This project is licensed under the Apache-2.0 license.

Icon license

Icon Library License Version
Font Awesome Icons CC BY 4.0 && SIL OFL 1.1 7.2.0