icons 0.1.4

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.

Example in Production

This crate is used in rust-ui.com — check it out to see some Rust UI Icons in action :)

Installation

cargo add icons --features leptos # For Leptos
cargo add icons --features dioxus # For Dioxus

Usage

Leptos

use icons::{ChevronUpDown, ChevronRight};

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

Dioxus

Coming soon 🙂

License

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