dioxus-icons 0.0.1

Lucide icons for Dioxus, one component per icon.
Documentation
// @generated by dioxus-icons-codegen from Lucide v1.14.0 (56e49f12166312f04af4cfd862621c93cf583979). Do not edit.
// Lucide icons are licensed under ISC. See LICENSE-LUCIDE.

use dioxus::core::{Element, Template, TemplateNode};

use crate::IconProps;
use crate::vdom::{attr, icon_element, icon_template, path, rect, svg};

#[cfg_attr(any(doc, rust_analyzer), doc = include_str!("docs/car_front.md"))]
#[cfg_attr(any(doc, rust_analyzer), doc = include_str!("../../../rustdoc-header.html"))]
#[allow(non_snake_case)]
pub fn CarFront(props: IconProps) -> Element {
    static TEMPLATE_ROOTS: &[TemplateNode] = &[svg(&[
        path(&[attr(
            "d",
            "m21 8-2 2-1.5-3.7A2 2 0 0 0 15.646 5H8.4a2 2 0 0 0-1.903 1.257L5 10 3 8",
        )]),
        path(&[attr("d", "M7 14h.01")]),
        path(&[attr("d", "M17 14h.01")]),
        rect(&[
            attr("height", "8"),
            attr("rx", "2"),
            attr("width", "18"),
            attr("x", "3"),
            attr("y", "10"),
        ]),
        path(&[attr("d", "M5 18v2")]),
        path(&[attr("d", "M19 18v2")]),
    ])];
    static TEMPLATE: Template = icon_template(TEMPLATE_ROOTS);

    icon_element(TEMPLATE, props)
}