Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
D

dioxus-free-icons

> 编程语言
Open source

Use free svg icons in your Dioxus projects easily with dioxus-free-icons.

194 stars0 likes0 views
WebsiteGitHub

About

Use free svg icons in your Dioxus projects easily with dioxus-free-icons.

dioxus-free-icons

Use free svg icons in your Dioxus projects easily with dioxus-free-icons.

More information about this crate can be found in the crate documentation.

Install

To use dioxus-free-icons, add this to your Cargo.toml:

toml
[dependencies]
dioxus-free-icons = { version = "0.9", features = ["font-awesome-brands"] }

Support features

The following features are available. Please see react-icons site to check the icon name and icon design.

  • bootstrap
  • codicons
  • font-awesome-brands
  • font-awesome-regular
  • font-awesome-solid
  • feather
  • octicons
  • hero-icons-outline
  • hero-icons-solid
  • ionicons
  • lucide
  • material-design-icons-action
  • material-design-icons-alert
  • material-design-icons-av
  • material-design-icons-communication
  • material-design-icons-content
  • material-design-icons-device
  • material-design-icons-editor
  • material-design-icons-file
  • material-design-icons-hardware
  • material-design-icons-home
  • material-design-icons-image
  • material-design-icons-maps
  • material-design-icons-navigation
  • material-design-icons-notification
  • material-design-icons-places
  • material-design-icons-social
  • material-design-icons-toggle

Example

This library provides Icon component, which will generate SVG for a Font Awesome icon.

rust
use dioxus::prelude::*;
use dioxus_free_icons::icons::fa_brands_icons::FaRust;
use dioxus_free_icons::Icon;

fn RustIcon() -> Element {
    rsx!(
        Icon {
            width: 30,
            height: 30,
            fill: "black",
            icon: FaRust,
        }
    )
}

License

This project is licensed under the MIT license.

Icon

Icon Library License Version
Bootstrap Icons MIT License 1.8.3
Codicons MIT License & CC BY 4.0 License 0.0.36
Feather MIT License 4.29.0
Font Awesome CC BY 4.0 License 6.1.1
Heroicons MIT License 1.0.6
Ionicons MIT License 6.0.2
Lucide ISC License 0.555.0
Material Design icons Apache License 2.0 4.0.0
Octicons MIT License 17.3.0

Contribution

The project welcomes all contributions from anyone willing to work in good faith with other contributors and the community. In particular, contributions regarding support for other free icons such as Material Design icons or Ionicons are welcome. This library aims to be a react-icons-like library for dioxus projects.

Development

bash
// generate icon files
cd packages/codegen
cargo run

Preview

bash
cd packages/exmaple
cargo install dioxus-cli
dx serve

Update icons

  1. checkout a new tag in the icon resource submodule
  2. create new icon files
  3. Update README.md and check the LICENSE

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rust

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言