Icons

A crisp set of 15×15 icons. All icons are available as individual components.

Installation

Install the icons from your command line.

cargo add radix-leptos-icons

Anatomy

Import the icons.

use leptos::*;
use radix_leptos_icons::{FaceIcon, ImageIcon, SunIcon};

#[component]
fn Anatomy() -> impl IntoView {
    view! {
        <FaceIcon />
        <SunIcon />
        <ImageIcon />
    }
}

API Reference

PropTypeDefault
colorMaybeProp<String>"currentColor"

See Also