Icons

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

Installation

Install the icons from your command line.

# Selective Icons
cargo add radix-leptos-icons --features face,image,sun

# All Icons
cargo add radix-leptos-icons --features full

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