icons 0.8.1

Icons for Rust fullstack applications — Leptos and Dioxus.
Documentation

Rust UI Icons

Description

A collection of SVG-based icon components for Rust fullstack applications.

Built on top of Tailwind CSS and tw_merge.

Explore the Full Icon Library

Browse the complete collection now at Rust UI Icons — and find the perfect one for your next project!

Installation

Please make sure to have this in your Cargo.toml:

icons = { version = "0.X", features = ["leptos"] } # For Leptos
icons = { version = "0.X", features = ["dioxus"] } # For Dioxus

Usage

Leptos

use leptos::prelude::*;
use icons::{ChevronUpDown, ChevronRight};

#[component]
pub fn MyComponent() -> impl IntoView {
    view! {
        <ChevronUpDown />
        <ChevronRight class="size-8" />
    }
}

Dioxus

use dioxus::prelude::*;
use icons::Check;

#[component]
pub fn Mycomponent() -> Element {
    rsx! {
        Check { class: "text-green-500" }
    }
}

Roadmap

  • Leptos port of lucide.dev icons.
  • Dioxus port of lucide.dev icons.
  • Search feature on Rust UI.
  • Filtering feature on Rust UI.
  • Full support for animated icons (WIP).

License

This project is licensed under the MIT License. See the LICENSE file for details.