feat: update to upstream v0.512.0 (#86)

Co-authored-by: rust-for-web[bot] <191031261+rust-for-web[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2025-06-07 09:08:28 +00:00 committed by GitHub
parent 8b54e9a145
commit 896a02dd7c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
55 changed files with 759 additions and 185 deletions

View file

@ -2339,6 +2339,12 @@ pub fn IconsC2() -> Element {
},
"Circle Plus",
),
(
rsx! {
CirclePoundSterling {}
},
"Circle Pound Sterling",
),
(
rsx! {
CirclePower {}
@ -2591,6 +2597,12 @@ pub fn IconsC2() -> Element {
},
"Cloud Alert",
),
(
rsx! {
CloudCheck {}
},
"Cloud Check",
),
(
rsx! {
CloudCog {}
@ -2753,18 +2765,6 @@ pub fn IconsC2() -> Element {
},
"Columns 3",
),
(
rsx! {
Columns3Cog {}
},
"Columns 3 Cog",
),
(
rsx! {
Columns4 {}
},
"Columns 4",
),
];
rsx! {
for (icon , name) in icons {
@ -2780,6 +2780,18 @@ pub fn IconsC2() -> Element {
#[component]
pub fn IconsC3() -> Element {
let icons = [
(
rsx! {
Columns3Cog {}
},
"Columns 3 Cog",
),
(
rsx! {
Columns4 {}
},
"Columns 4",
),
(
rsx! {
Combine {}
@ -4583,6 +4595,12 @@ pub fn IconsG1() -> Element {
},
"Grid 2 X 2 X",
),
(
rsx! {
Grid3X2 {}
},
"Grid 3 X 2",
),
(
rsx! {
Grid3X3 {}
@ -4949,6 +4967,12 @@ pub fn IconsI1() -> Element {
},
"Id Card",
),
(
rsx! {
IdCardLanyard {}
},
"Id Card Lanyard",
),
(
rsx! {
Image {}

View file

@ -493,6 +493,7 @@ pub fn IconsC() -> impl IntoView {
(view! { <CirclePercent /> }.into_any(), "Circle Percent"),
(view! { <CirclePlay /> }.into_any(), "Circle Play"),
(view! { <CirclePlus /> }.into_any(), "Circle Plus"),
(view! { <CirclePoundSterling /> }.into_any(), "Circle Pound Sterling"),
(view! { <CirclePower /> }.into_any(), "Circle Power"),
(view! { <CircleSlash /> }.into_any(), "Circle Slash"),
(view! { <CircleSlash2 /> }.into_any(), "Circle Slash 2"),
@ -535,6 +536,7 @@ pub fn IconsC() -> impl IntoView {
(view! { <ClockPlus /> }.into_any(), "Clock Plus"),
(view! { <Cloud /> }.into_any(), "Cloud"),
(view! { <CloudAlert /> }.into_any(), "Cloud Alert"),
(view! { <CloudCheck /> }.into_any(), "Cloud Check"),
(view! { <CloudCog /> }.into_any(), "Cloud Cog"),
(view! { <CloudDownload /> }.into_any(), "Cloud Download"),
(view! { <CloudDrizzle /> }.into_any(), "Cloud Drizzle"),
@ -926,6 +928,7 @@ pub fn IconsG() -> impl IntoView {
(view! { <Grid2X2Check /> }.into_any(), "Grid 2 X 2 Check"),
(view! { <Grid2X2Plus /> }.into_any(), "Grid 2 X 2 Plus"),
(view! { <Grid2X2X /> }.into_any(), "Grid 2 X 2 X"),
(view! { <Grid3X2 /> }.into_any(), "Grid 3 X 2"),
(view! { <Grid3X3 /> }.into_any(), "Grid 3 X 3"),
(view! { <Grip /> }.into_any(), "Grip"),
(view! { <GripHorizontal /> }.into_any(), "Grip Horizontal"),
@ -1016,6 +1019,7 @@ pub fn IconsI() -> impl IntoView {
(view! { <IceCreamBowl /> }.into_any(), "Ice Cream Bowl"),
(view! { <IceCreamCone /> }.into_any(), "Ice Cream Cone"),
(view! { <IdCard /> }.into_any(), "Id Card"),
(view! { <IdCardLanyard /> }.into_any(), "Id Card Lanyard"),
(view! { <Image /> }.into_any(), "Image"),
(view! { <ImageDown /> }.into_any(), "Image Down"),
(view! { <ImageMinus /> }.into_any(), "Image Minus"),

View file

@ -522,6 +522,7 @@ pub fn IconsC() -> Html {
(html! { <CirclePercent /> }, "Circle Percent"),
(html! { <CirclePlay /> }, "Circle Play"),
(html! { <CirclePlus /> }, "Circle Plus"),
(html! { <CirclePoundSterling /> }, "Circle Pound Sterling"),
(html! { <CirclePower /> }, "Circle Power"),
(html! { <CircleSlash /> }, "Circle Slash"),
(html! { <CircleSlash2 /> }, "Circle Slash 2"),
@ -564,6 +565,7 @@ pub fn IconsC() -> Html {
(html! { <ClockPlus /> }, "Clock Plus"),
(html! { <Cloud /> }, "Cloud"),
(html! { <CloudAlert /> }, "Cloud Alert"),
(html! { <CloudCheck /> }, "Cloud Check"),
(html! { <CloudCog /> }, "Cloud Cog"),
(html! { <CloudDownload /> }, "Cloud Download"),
(html! { <CloudDrizzle /> }, "Cloud Drizzle"),
@ -957,6 +959,7 @@ pub fn IconsG() -> Html {
(html! { <Grid2X2Check /> }, "Grid 2 X 2 Check"),
(html! { <Grid2X2Plus /> }, "Grid 2 X 2 Plus"),
(html! { <Grid2X2X /> }, "Grid 2 X 2 X"),
(html! { <Grid3X2 /> }, "Grid 3 X 2"),
(html! { <Grid3X3 /> }, "Grid 3 X 3"),
(html! { <Grip /> }, "Grip"),
(html! { <GripHorizontal /> }, "Grip Horizontal"),
@ -1045,6 +1048,7 @@ pub fn IconsI() -> Html {
(html! { <IceCreamBowl /> }, "Ice Cream Bowl"),
(html! { <IceCreamCone /> }, "Ice Cream Cone"),
(html! { <IdCard /> }, "Id Card"),
(html! { <IdCardLanyard /> }, "Id Card Lanyard"),
(html! { <Image /> }, "Image"),
(html! { <ImageDown /> }, "Image Down"),
(html! { <ImageMinus /> }, "Image Minus"),

View file

@ -34,19 +34,13 @@ pub fn Battery(props: BatteryProps) -> Element {
"stroke-width": "{stroke_width}",
"stroke-linecap": "round",
"stroke-linejoin": "round",
path { "d": "M 22 14 L 22 10" }
rect {
"width": "16",
"height": "10",
"x": "2",
"y": "7",
"y": "6",
"width": "16",
"height": "12",
"rx": "2",
"ry": "2",
}
line {
"x1": "22",
"x2": "22",
"y1": "11",
"y2": "13",
}
}
}

View file

@ -34,15 +34,10 @@ pub fn BatteryCharging(props: BatteryChargingProps) -> Element {
"stroke-width": "{stroke_width}",
"stroke-linecap": "round",
"stroke-linejoin": "round",
path { "d": "M15 7h1a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-2" }
path { "d": "M6 7H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h1" }
path { "d": "m11 7-3 5h4l-3 5" }
line {
"x1": "22",
"x2": "22",
"y1": "11",
"y2": "13",
}
path { "d": "M14.856 6H16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.935" }
path { "d": "M22 14v-4" }
path { "d": "M5.14 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h2.936" }
}
}
}

View file

@ -34,37 +34,16 @@ pub fn BatteryFull(props: BatteryFullProps) -> Element {
"stroke-width": "{stroke_width}",
"stroke-linecap": "round",
"stroke-linejoin": "round",
path { "d": "M10 10v4" }
path { "d": "M14 10v4" }
path { "d": "M22 14v-4" }
path { "d": "M6 10v4" }
rect {
"width": "16",
"height": "10",
"x": "2",
"y": "7",
"y": "6",
"width": "16",
"height": "12",
"rx": "2",
"ry": "2",
}
line {
"x1": "22",
"x2": "22",
"y1": "11",
"y2": "13",
}
line {
"x1": "6",
"x2": "6",
"y1": "11",
"y2": "13",
}
line {
"x1": "10",
"x2": "10",
"y1": "11",
"y2": "13",
}
line {
"x1": "14",
"x2": "14",
"y1": "11",
"y2": "13",
}
}
}

View file

@ -34,25 +34,14 @@ pub fn BatteryLow(props: BatteryLowProps) -> Element {
"stroke-width": "{stroke_width}",
"stroke-linecap": "round",
"stroke-linejoin": "round",
path { "d": "M22 14v-4" }
path { "d": "M6 14v-4" }
rect {
"width": "16",
"height": "10",
"x": "2",
"y": "7",
"y": "6",
"width": "16",
"height": "12",
"rx": "2",
"ry": "2",
}
line {
"x1": "22",
"x2": "22",
"y1": "11",
"y2": "13",
}
line {
"x1": "6",
"x2": "6",
"y1": "11",
"y2": "13",
}
}
}

View file

@ -34,31 +34,15 @@ pub fn BatteryMedium(props: BatteryMediumProps) -> Element {
"stroke-width": "{stroke_width}",
"stroke-linecap": "round",
"stroke-linejoin": "round",
path { "d": "M10 14v-4" }
path { "d": "M22 14v-4" }
path { "d": "M6 14v-4" }
rect {
"width": "16",
"height": "10",
"x": "2",
"y": "7",
"y": "6",
"width": "16",
"height": "12",
"rx": "2",
"ry": "2",
}
line {
"x1": "22",
"x2": "22",
"y1": "11",
"y2": "13",
}
line {
"x1": "6",
"x2": "6",
"y1": "11",
"y2": "13",
}
line {
"x1": "10",
"x2": "10",
"y1": "11",
"y2": "13",
}
}
}

View file

@ -35,10 +35,10 @@ pub fn BatteryPlus(props: BatteryPlusProps) -> Element {
"stroke-linecap": "round",
"stroke-linejoin": "round",
path { "d": "M10 9v6" }
path { "d": "M13.5 7H16a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-2.5" }
path { "d": "M22 11v2" }
path { "d": "M6.5 17H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h2.5" }
path { "d": "M12.543 6H16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-3.605" }
path { "d": "M22 14v-4" }
path { "d": "M7 12h6" }
path { "d": "M7.606 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h3.606" }
}
}
}

View file

@ -36,9 +36,9 @@ pub fn BatteryWarning(props: BatteryWarningProps) -> Element {
"stroke-linejoin": "round",
path { "d": "M10 17h.01" }
path { "d": "M10 7v6" }
path { "d": "M14 7h2a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-2" }
path { "d": "M22 11v2" }
path { "d": "M6 7H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2" }
path { "d": "M14 6h2a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2" }
path { "d": "M22 14v-4" }
path { "d": "M6 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h2" }
}
}
}

View file

@ -0,0 +1,43 @@
use dioxus::prelude::*;
#[derive(Clone, PartialEq, Props)]
pub struct CirclePoundSterlingProps {
#[props(default = 24)]
pub size: usize,
#[props(default = "currentColor".to_owned())]
pub color: String,
#[props(default = "none".to_owned())]
pub fill: String,
#[props(default = 2)]
pub stroke_width: usize,
#[props(default = false)]
pub absolute_stroke_width: bool,
pub class: Option<String>,
pub style: Option<String>,
}
#[component]
pub fn CirclePoundSterling(props: CirclePoundSterlingProps) -> Element {
let stroke_width = if props.absolute_stroke_width {
props.stroke_width * 24 / props.size
} else {
props.stroke_width
};
rsx! {
svg {
"xmlns": "http://www.w3.org/2000/svg",
"class": if let Some(class) = props.class { "{class}" },
"style": if let Some(style) = props.style { "{style}" },
"width": "{props.size}",
"height": "{props.size}",
"viewBox": "0 0 24 24",
"fill": "{props.fill}",
"stroke": "{props.color}",
"stroke-width": "{stroke_width}",
"stroke-linecap": "round",
"stroke-linejoin": "round",
path { "d": "M10 16V9.5a1 1 0 0 1 5 0" }
path { "d": "M8 12h4" }
path { "d": "M8 16h7" }
circle { "cx": "12", "cy": "12", "r": "10" }
}
}
}

View file

@ -0,0 +1,41 @@
use dioxus::prelude::*;
#[derive(Clone, PartialEq, Props)]
pub struct CloudCheckProps {
#[props(default = 24)]
pub size: usize,
#[props(default = "currentColor".to_owned())]
pub color: String,
#[props(default = "none".to_owned())]
pub fill: String,
#[props(default = 2)]
pub stroke_width: usize,
#[props(default = false)]
pub absolute_stroke_width: bool,
pub class: Option<String>,
pub style: Option<String>,
}
#[component]
pub fn CloudCheck(props: CloudCheckProps) -> Element {
let stroke_width = if props.absolute_stroke_width {
props.stroke_width * 24 / props.size
} else {
props.stroke_width
};
rsx! {
svg {
"xmlns": "http://www.w3.org/2000/svg",
"class": if let Some(class) = props.class { "{class}" },
"style": if let Some(style) = props.style { "{style}" },
"width": "{props.size}",
"height": "{props.size}",
"viewBox": "0 0 24 24",
"fill": "{props.fill}",
"stroke": "{props.color}",
"stroke-width": "{stroke_width}",
"stroke-linecap": "round",
"stroke-linejoin": "round",
path { "d": "m17 15-5.5 5.5L9 18" }
path { "d": "M5 17.743A7 7 0 1 1 15.71 10h1.79a4.5 4.5 0 0 1 1.5 8.742" }
}
}
}

View file

@ -34,9 +34,8 @@ pub fn Eraser(props: EraserProps) -> Element {
"stroke-width": "{stroke_width}",
"stroke-linecap": "round",
"stroke-linejoin": "round",
path { "d": "m7 21-4.3-4.3c-1-1-1-2.5 0-3.4l9.6-9.6c1-1 2.5-1 3.4 0l5.6 5.6c1 1 1 2.5 0 3.4L13 21" }
path { "d": "M22 21H7" }
path { "d": "m5 11 9 9" }
path { "d": "M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21" }
path { "d": "m5.082 11.09 8.828 8.828" }
}
}
}

View file

@ -34,10 +34,10 @@ pub fn FileBadge(props: FileBadgeProps) -> Element {
"stroke-width": "{stroke_width}",
"stroke-linecap": "round",
"stroke-linejoin": "round",
path { "d": "M12 22h6a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v3" }
path { "d": "M12 22h6a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v3.072" }
path { "d": "M14 2v4a2 2 0 0 0 2 2h4" }
path { "d": "M5 17a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z" }
path { "d": "M7 16.5 8 22l-3-1-3 1 1-5.5" }
path { "d": "m6.69 16.479 1.29 4.88a.5.5 0 0 1-.698.591l-1.843-.849a1 1 0 0 0-.88.001l-1.846.85a.5.5 0 0 1-.693-.593l1.29-4.88" }
circle { "cx": "5", "cy": "14", "r": "3" }
}
}
}

View file

@ -0,0 +1,49 @@
use dioxus::prelude::*;
#[derive(Clone, PartialEq, Props)]
pub struct Grid3X2Props {
#[props(default = 24)]
pub size: usize,
#[props(default = "currentColor".to_owned())]
pub color: String,
#[props(default = "none".to_owned())]
pub fill: String,
#[props(default = 2)]
pub stroke_width: usize,
#[props(default = false)]
pub absolute_stroke_width: bool,
pub class: Option<String>,
pub style: Option<String>,
}
#[component]
pub fn Grid3X2(props: Grid3X2Props) -> Element {
let stroke_width = if props.absolute_stroke_width {
props.stroke_width * 24 / props.size
} else {
props.stroke_width
};
rsx! {
svg {
"xmlns": "http://www.w3.org/2000/svg",
"class": if let Some(class) = props.class { "{class}" },
"style": if let Some(style) = props.style { "{style}" },
"width": "{props.size}",
"height": "{props.size}",
"viewBox": "0 0 24 24",
"fill": "{props.fill}",
"stroke": "{props.color}",
"stroke-width": "{stroke_width}",
"stroke-linecap": "round",
"stroke-linejoin": "round",
path { "d": "M15 3v18" }
path { "d": "M3 12h18" }
path { "d": "M9 3v18" }
rect {
"x": "3",
"y": "3",
"width": "18",
"height": "18",
"rx": "2",
}
}
}
}

View file

@ -0,0 +1,44 @@
use dioxus::prelude::*;
#[derive(Clone, PartialEq, Props)]
pub struct IdCardLanyardProps {
#[props(default = 24)]
pub size: usize,
#[props(default = "currentColor".to_owned())]
pub color: String,
#[props(default = "none".to_owned())]
pub fill: String,
#[props(default = 2)]
pub stroke_width: usize,
#[props(default = false)]
pub absolute_stroke_width: bool,
pub class: Option<String>,
pub style: Option<String>,
}
#[component]
pub fn IdCardLanyard(props: IdCardLanyardProps) -> Element {
let stroke_width = if props.absolute_stroke_width {
props.stroke_width * 24 / props.size
} else {
props.stroke_width
};
rsx! {
svg {
"xmlns": "http://www.w3.org/2000/svg",
"class": if let Some(class) = props.class { "{class}" },
"style": if let Some(style) = props.style { "{style}" },
"width": "{props.size}",
"height": "{props.size}",
"viewBox": "0 0 24 24",
"fill": "{props.fill}",
"stroke": "{props.color}",
"stroke-width": "{stroke_width}",
"stroke-linecap": "round",
"stroke-linejoin": "round",
path { "d": "M13.5 8h-3" }
path { "d": "m15 2-1 2h3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h3" }
path { "d": "M16.899 22A5 5 0 0 0 7.1 22" }
path { "d": "m9 2 3 6" }
circle { "cx": "12", "cy": "15", "r": "3" }
}
}
}

View file

@ -877,6 +877,8 @@ mod circle_play;
feature = "gaming"
))]
mod circle_plus;
#[cfg(feature = "finance")]
mod circle_pound_sterling;
#[cfg(feature = "connectivity")]
mod circle_power;
#[cfg(any(feature = "development", feature = "math"))]
@ -962,6 +964,8 @@ mod cloud;
#[cfg(feature = "development")]
mod cloud_alert;
#[cfg(feature = "development")]
mod cloud_check;
#[cfg(feature = "development")]
mod cloud_cog;
#[cfg(any(feature = "arrows", feature = "files"))]
mod cloud_download;
@ -1729,6 +1733,13 @@ mod grid_2_x_2_check;
mod grid_2_x_2_plus;
#[cfg(any(feature = "text", feature = "layout", feature = "math"))]
mod grid_2_x_2_x;
#[cfg(any(
feature = "text",
feature = "math",
feature = "layout",
feature = "design"
))]
mod grid_3_x_2;
#[cfg(any(feature = "text", feature = "layout", feature = "design"))]
mod grid_3_x_3;
#[cfg(feature = "layout")]
@ -1899,6 +1910,8 @@ mod ice_cream_bowl;
mod ice_cream_cone;
#[cfg(any(feature = "security", feature = "account"))]
mod id_card;
#[cfg(any(feature = "security", feature = "account"))]
mod id_card_lanyard;
#[cfg(any(
feature = "photography",
feature = "text",
@ -4921,6 +4934,8 @@ pub use circle_play::*;
feature = "gaming"
))]
pub use circle_plus::*;
#[cfg(feature = "finance")]
pub use circle_pound_sterling::*;
#[cfg(feature = "connectivity")]
pub use circle_power::*;
#[cfg(any(feature = "development", feature = "math"))]
@ -5006,6 +5021,8 @@ pub use cloud::*;
#[cfg(feature = "development")]
pub use cloud_alert::*;
#[cfg(feature = "development")]
pub use cloud_check::*;
#[cfg(feature = "development")]
pub use cloud_cog::*;
#[cfg(any(feature = "arrows", feature = "files"))]
pub use cloud_download::*;
@ -5773,6 +5790,13 @@ pub use grid_2_x_2_check::*;
pub use grid_2_x_2_plus::*;
#[cfg(any(feature = "text", feature = "layout", feature = "math"))]
pub use grid_2_x_2_x::*;
#[cfg(any(
feature = "text",
feature = "math",
feature = "layout",
feature = "design"
))]
pub use grid_3_x_2::*;
#[cfg(any(feature = "text", feature = "layout", feature = "design"))]
pub use grid_3_x_3::*;
#[cfg(feature = "layout")]
@ -5943,6 +5967,8 @@ pub use ice_cream_bowl::*;
pub use ice_cream_cone::*;
#[cfg(any(feature = "security", feature = "account"))]
pub use id_card::*;
#[cfg(any(feature = "security", feature = "account"))]
pub use id_card_lanyard::*;
#[cfg(any(
feature = "photography",
feature = "text",

View file

@ -34,11 +34,11 @@ pub fn ListCollapse(props: ListCollapseProps) -> Element {
"stroke-width": "{stroke_width}",
"stroke-linecap": "round",
"stroke-linejoin": "round",
path { "d": "m3 10 2.5-2.5L3 5" }
path { "d": "m3 19 2.5-2.5L3 14" }
path { "d": "M10 6h11" }
path { "d": "M10 12h11" }
path { "d": "M10 18h11" }
path { "d": "M10 6h11" }
path { "d": "m3 10 3-3-3-3" }
path { "d": "m3 20 3-3-3-3" }
}
}
}

View file

@ -34,8 +34,7 @@ pub fn Paperclip(props: PaperclipProps) -> Element {
"stroke-width": "{stroke_width}",
"stroke-linecap": "round",
"stroke-linejoin": "round",
path { "d": "M13.234 20.252 21 12.3" }
path { "d": "m16 6-8.414 8.586a2 2 0 0 0 0 2.828 2 2 0 0 0 2.828 0l8.414-8.586a4 4 0 0 0 0-5.656 4 4 0 0 0-5.656 0l-8.415 8.585a6 6 0 1 0 8.486 8.486" }
path { "d": "m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551" }
}
}
}

View file

@ -34,7 +34,7 @@ pub fn SquareCheckBig(props: SquareCheckBigProps) -> Element {
"stroke-width": "{stroke_width}",
"stroke-linecap": "round",
"stroke-linejoin": "round",
path { "d": "M21 10.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.5" }
path { "d": "M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344" }
path { "d": "m9 11 3 3L22 4" }
}
}

View file

@ -29,8 +29,8 @@ pub fn Battery(
stroke-linecap="round"
stroke-linejoin="round"
>
<rect width="16" height="10" x="2" y="7" rx="2" ry="2" />
<line x1="22" x2="22" y1="11" y2="13" />
<path d="M 22 14 L 22 10" />
<rect x="2" y="6" width="16" height="12" rx="2" />
</svg>
}
}

View file

@ -29,10 +29,10 @@ pub fn BatteryCharging(
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M15 7h1a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-2" />
<path d="M6 7H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h1" />
<path d="m11 7-3 5h4l-3 5" />
<line x1="22" x2="22" y1="11" y2="13" />
<path d="M14.856 6H16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.935" />
<path d="M22 14v-4" />
<path d="M5.14 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h2.936" />
</svg>
}
}

View file

@ -29,11 +29,11 @@ pub fn BatteryFull(
stroke-linecap="round"
stroke-linejoin="round"
>
<rect width="16" height="10" x="2" y="7" rx="2" ry="2" />
<line x1="22" x2="22" y1="11" y2="13" />
<line x1="6" x2="6" y1="11" y2="13" />
<line x1="10" x2="10" y1="11" y2="13" />
<line x1="14" x2="14" y1="11" y2="13" />
<path d="M10 10v4" />
<path d="M14 10v4" />
<path d="M22 14v-4" />
<path d="M6 10v4" />
<rect x="2" y="6" width="16" height="12" rx="2" />
</svg>
}
}

View file

@ -29,9 +29,9 @@ pub fn BatteryLow(
stroke-linecap="round"
stroke-linejoin="round"
>
<rect width="16" height="10" x="2" y="7" rx="2" ry="2" />
<line x1="22" x2="22" y1="11" y2="13" />
<line x1="6" x2="6" y1="11" y2="13" />
<path d="M22 14v-4" />
<path d="M6 14v-4" />
<rect x="2" y="6" width="16" height="12" rx="2" />
</svg>
}
}

View file

@ -29,10 +29,10 @@ pub fn BatteryMedium(
stroke-linecap="round"
stroke-linejoin="round"
>
<rect width="16" height="10" x="2" y="7" rx="2" ry="2" />
<line x1="22" x2="22" y1="11" y2="13" />
<line x1="6" x2="6" y1="11" y2="13" />
<line x1="10" x2="10" y1="11" y2="13" />
<path d="M10 14v-4" />
<path d="M22 14v-4" />
<path d="M6 14v-4" />
<rect x="2" y="6" width="16" height="12" rx="2" />
</svg>
}
}

View file

@ -30,10 +30,10 @@ pub fn BatteryPlus(
stroke-linejoin="round"
>
<path d="M10 9v6" />
<path d="M13.5 7H16a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-2.5" />
<path d="M22 11v2" />
<path d="M6.5 17H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h2.5" />
<path d="M12.543 6H16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-3.605" />
<path d="M22 14v-4" />
<path d="M7 12h6" />
<path d="M7.606 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h3.606" />
</svg>
}
}

View file

@ -31,9 +31,9 @@ pub fn BatteryWarning(
>
<path d="M10 17h.01" />
<path d="M10 7v6" />
<path d="M14 7h2a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-2" />
<path d="M22 11v2" />
<path d="M6 7H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2" />
<path d="M14 6h2a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2" />
<path d="M22 14v-4" />
<path d="M6 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h2" />
</svg>
}
}

View file

@ -0,0 +1,38 @@
use leptos::{prelude::*, svg::Svg};
#[component]
pub fn CirclePoundSterling(
#[prop(default = 24.into(), into)] size: Signal<usize>,
#[prop(default = "currentColor".into(), into)] color: Signal<String>,
#[prop(default = "none".into(), into)] fill: Signal<String>,
#[prop(default = 2.into(), into)] stroke_width: Signal<usize>,
#[prop(default = false.into(), into)] absolute_stroke_width: Signal<bool>,
#[prop(optional)] node_ref: NodeRef<Svg>,
) -> impl IntoView {
let stroke_width = Signal::derive(move || {
if absolute_stroke_width.get() {
stroke_width.get() * 24 / size.get()
} else {
stroke_width.get()
}
});
view! {
<svg
node_ref=node_ref
class:lucide=true
xmlns="http://www.w3.org/2000/svg"
width=size
height=size
viewBox="0 0 24 24"
fill=fill
stroke=color
stroke-width=stroke_width
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M10 16V9.5a1 1 0 0 1 5 0" />
<path d="M8 12h4" />
<path d="M8 16h7" />
<circle cx="12" cy="12" r="10" />
</svg>
}
}

View file

@ -0,0 +1,36 @@
use leptos::{prelude::*, svg::Svg};
#[component]
pub fn CloudCheck(
#[prop(default = 24.into(), into)] size: Signal<usize>,
#[prop(default = "currentColor".into(), into)] color: Signal<String>,
#[prop(default = "none".into(), into)] fill: Signal<String>,
#[prop(default = 2.into(), into)] stroke_width: Signal<usize>,
#[prop(default = false.into(), into)] absolute_stroke_width: Signal<bool>,
#[prop(optional)] node_ref: NodeRef<Svg>,
) -> impl IntoView {
let stroke_width = Signal::derive(move || {
if absolute_stroke_width.get() {
stroke_width.get() * 24 / size.get()
} else {
stroke_width.get()
}
});
view! {
<svg
node_ref=node_ref
class:lucide=true
xmlns="http://www.w3.org/2000/svg"
width=size
height=size
viewBox="0 0 24 24"
fill=fill
stroke=color
stroke-width=stroke_width
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="m17 15-5.5 5.5L9 18" />
<path d="M5 17.743A7 7 0 1 1 15.71 10h1.79a4.5 4.5 0 0 1 1.5 8.742" />
</svg>
}
}

View file

@ -29,9 +29,8 @@ pub fn Eraser(
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="m7 21-4.3-4.3c-1-1-1-2.5 0-3.4l9.6-9.6c1-1 2.5-1 3.4 0l5.6 5.6c1 1 1 2.5 0 3.4L13 21" />
<path d="M22 21H7" />
<path d="m5 11 9 9" />
<path d="M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21" />
<path d="m5.082 11.09 8.828 8.828" />
</svg>
}
}

View file

@ -29,10 +29,10 @@ pub fn FileBadge(
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M12 22h6a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v3" />
<path d="M12 22h6a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v3.072" />
<path d="M14 2v4a2 2 0 0 0 2 2h4" />
<path d="M5 17a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z" />
<path d="M7 16.5 8 22l-3-1-3 1 1-5.5" />
<path d="m6.69 16.479 1.29 4.88a.5.5 0 0 1-.698.591l-1.843-.849a1 1 0 0 0-.88.001l-1.846.85a.5.5 0 0 1-.693-.593l1.29-4.88" />
<circle cx="5" cy="14" r="3" />
</svg>
}
}

View file

@ -0,0 +1,38 @@
use leptos::{prelude::*, svg::Svg};
#[component]
pub fn Grid3X2(
#[prop(default = 24.into(), into)] size: Signal<usize>,
#[prop(default = "currentColor".into(), into)] color: Signal<String>,
#[prop(default = "none".into(), into)] fill: Signal<String>,
#[prop(default = 2.into(), into)] stroke_width: Signal<usize>,
#[prop(default = false.into(), into)] absolute_stroke_width: Signal<bool>,
#[prop(optional)] node_ref: NodeRef<Svg>,
) -> impl IntoView {
let stroke_width = Signal::derive(move || {
if absolute_stroke_width.get() {
stroke_width.get() * 24 / size.get()
} else {
stroke_width.get()
}
});
view! {
<svg
node_ref=node_ref
class:lucide=true
xmlns="http://www.w3.org/2000/svg"
width=size
height=size
viewBox="0 0 24 24"
fill=fill
stroke=color
stroke-width=stroke_width
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M15 3v18" />
<path d="M3 12h18" />
<path d="M9 3v18" />
<rect x="3" y="3" width="18" height="18" rx="2" />
</svg>
}
}

View file

@ -0,0 +1,39 @@
use leptos::{prelude::*, svg::Svg};
#[component]
pub fn IdCardLanyard(
#[prop(default = 24.into(), into)] size: Signal<usize>,
#[prop(default = "currentColor".into(), into)] color: Signal<String>,
#[prop(default = "none".into(), into)] fill: Signal<String>,
#[prop(default = 2.into(), into)] stroke_width: Signal<usize>,
#[prop(default = false.into(), into)] absolute_stroke_width: Signal<bool>,
#[prop(optional)] node_ref: NodeRef<Svg>,
) -> impl IntoView {
let stroke_width = Signal::derive(move || {
if absolute_stroke_width.get() {
stroke_width.get() * 24 / size.get()
} else {
stroke_width.get()
}
});
view! {
<svg
node_ref=node_ref
class:lucide=true
xmlns="http://www.w3.org/2000/svg"
width=size
height=size
viewBox="0 0 24 24"
fill=fill
stroke=color
stroke-width=stroke_width
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M13.5 8h-3" />
<path d="m15 2-1 2h3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h3" />
<path d="M16.899 22A5 5 0 0 0 7.1 22" />
<path d="m9 2 3 6" />
<circle cx="12" cy="15" r="3" />
</svg>
}
}

View file

@ -877,6 +877,8 @@ mod circle_play;
feature = "gaming"
))]
mod circle_plus;
#[cfg(feature = "finance")]
mod circle_pound_sterling;
#[cfg(feature = "connectivity")]
mod circle_power;
#[cfg(any(feature = "development", feature = "math"))]
@ -962,6 +964,8 @@ mod cloud;
#[cfg(feature = "development")]
mod cloud_alert;
#[cfg(feature = "development")]
mod cloud_check;
#[cfg(feature = "development")]
mod cloud_cog;
#[cfg(any(feature = "arrows", feature = "files"))]
mod cloud_download;
@ -1729,6 +1733,13 @@ mod grid_2_x_2_check;
mod grid_2_x_2_plus;
#[cfg(any(feature = "text", feature = "layout", feature = "math"))]
mod grid_2_x_2_x;
#[cfg(any(
feature = "text",
feature = "math",
feature = "layout",
feature = "design"
))]
mod grid_3_x_2;
#[cfg(any(feature = "text", feature = "layout", feature = "design"))]
mod grid_3_x_3;
#[cfg(feature = "layout")]
@ -1899,6 +1910,8 @@ mod ice_cream_bowl;
mod ice_cream_cone;
#[cfg(any(feature = "security", feature = "account"))]
mod id_card;
#[cfg(any(feature = "security", feature = "account"))]
mod id_card_lanyard;
#[cfg(any(
feature = "photography",
feature = "text",
@ -4921,6 +4934,8 @@ pub use circle_play::*;
feature = "gaming"
))]
pub use circle_plus::*;
#[cfg(feature = "finance")]
pub use circle_pound_sterling::*;
#[cfg(feature = "connectivity")]
pub use circle_power::*;
#[cfg(any(feature = "development", feature = "math"))]
@ -5006,6 +5021,8 @@ pub use cloud::*;
#[cfg(feature = "development")]
pub use cloud_alert::*;
#[cfg(feature = "development")]
pub use cloud_check::*;
#[cfg(feature = "development")]
pub use cloud_cog::*;
#[cfg(any(feature = "arrows", feature = "files"))]
pub use cloud_download::*;
@ -5773,6 +5790,13 @@ pub use grid_2_x_2_check::*;
pub use grid_2_x_2_plus::*;
#[cfg(any(feature = "text", feature = "layout", feature = "math"))]
pub use grid_2_x_2_x::*;
#[cfg(any(
feature = "text",
feature = "math",
feature = "layout",
feature = "design"
))]
pub use grid_3_x_2::*;
#[cfg(any(feature = "text", feature = "layout", feature = "design"))]
pub use grid_3_x_3::*;
#[cfg(feature = "layout")]
@ -5943,6 +5967,8 @@ pub use ice_cream_bowl::*;
pub use ice_cream_cone::*;
#[cfg(any(feature = "security", feature = "account"))]
pub use id_card::*;
#[cfg(any(feature = "security", feature = "account"))]
pub use id_card_lanyard::*;
#[cfg(any(
feature = "photography",
feature = "text",

View file

@ -29,11 +29,11 @@ pub fn ListCollapse(
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="m3 10 2.5-2.5L3 5" />
<path d="m3 19 2.5-2.5L3 14" />
<path d="M10 6h11" />
<path d="M10 12h11" />
<path d="M10 18h11" />
<path d="M10 6h11" />
<path d="m3 10 3-3-3-3" />
<path d="m3 20 3-3-3-3" />
</svg>
}
}

View file

@ -29,8 +29,7 @@ pub fn Paperclip(
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M13.234 20.252 21 12.3" />
<path d="m16 6-8.414 8.586a2 2 0 0 0 0 2.828 2 2 0 0 0 2.828 0l8.414-8.586a4 4 0 0 0 0-5.656 4 4 0 0 0-5.656 0l-8.415 8.585a6 6 0 1 0 8.486 8.486" />
<path d="m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551" />
</svg>
}
}

View file

@ -29,7 +29,7 @@ pub fn SquareCheckBig(
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M21 10.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.5" />
<path d="M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344" />
<path d="m9 11 3 3L22 4" />
</svg>
}

View file

@ -41,8 +41,8 @@ pub fn Battery(props: &BatteryProps) -> Html {
stroke-linecap="round"
stroke-linejoin="round"
>
<rect width="16" height="10" x="2" y="7" rx="2" ry="2" />
<line x1="22" x2="22" y1="11" y2="13" />
<path d="M 22 14 L 22 10" />
<rect x="2" y="6" width="16" height="12" rx="2" />
</svg>
}
}

View file

@ -41,10 +41,10 @@ pub fn BatteryCharging(props: &BatteryChargingProps) -> Html {
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M15 7h1a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-2" />
<path d="M6 7H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h1" />
<path d="m11 7-3 5h4l-3 5" />
<line x1="22" x2="22" y1="11" y2="13" />
<path d="M14.856 6H16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.935" />
<path d="M22 14v-4" />
<path d="M5.14 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h2.936" />
</svg>
}
}

View file

@ -41,11 +41,11 @@ pub fn BatteryFull(props: &BatteryFullProps) -> Html {
stroke-linecap="round"
stroke-linejoin="round"
>
<rect width="16" height="10" x="2" y="7" rx="2" ry="2" />
<line x1="22" x2="22" y1="11" y2="13" />
<line x1="6" x2="6" y1="11" y2="13" />
<line x1="10" x2="10" y1="11" y2="13" />
<line x1="14" x2="14" y1="11" y2="13" />
<path d="M10 10v4" />
<path d="M14 10v4" />
<path d="M22 14v-4" />
<path d="M6 10v4" />
<rect x="2" y="6" width="16" height="12" rx="2" />
</svg>
}
}

View file

@ -41,9 +41,9 @@ pub fn BatteryLow(props: &BatteryLowProps) -> Html {
stroke-linecap="round"
stroke-linejoin="round"
>
<rect width="16" height="10" x="2" y="7" rx="2" ry="2" />
<line x1="22" x2="22" y1="11" y2="13" />
<line x1="6" x2="6" y1="11" y2="13" />
<path d="M22 14v-4" />
<path d="M6 14v-4" />
<rect x="2" y="6" width="16" height="12" rx="2" />
</svg>
}
}

View file

@ -41,10 +41,10 @@ pub fn BatteryMedium(props: &BatteryMediumProps) -> Html {
stroke-linecap="round"
stroke-linejoin="round"
>
<rect width="16" height="10" x="2" y="7" rx="2" ry="2" />
<line x1="22" x2="22" y1="11" y2="13" />
<line x1="6" x2="6" y1="11" y2="13" />
<line x1="10" x2="10" y1="11" y2="13" />
<path d="M10 14v-4" />
<path d="M22 14v-4" />
<path d="M6 14v-4" />
<rect x="2" y="6" width="16" height="12" rx="2" />
</svg>
}
}

View file

@ -42,10 +42,10 @@ pub fn BatteryPlus(props: &BatteryPlusProps) -> Html {
stroke-linejoin="round"
>
<path d="M10 9v6" />
<path d="M13.5 7H16a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-2.5" />
<path d="M22 11v2" />
<path d="M6.5 17H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h2.5" />
<path d="M12.543 6H16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-3.605" />
<path d="M22 14v-4" />
<path d="M7 12h6" />
<path d="M7.606 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h3.606" />
</svg>
}
}

View file

@ -43,9 +43,9 @@ pub fn BatteryWarning(props: &BatteryWarningProps) -> Html {
>
<path d="M10 17h.01" />
<path d="M10 7v6" />
<path d="M14 7h2a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-2" />
<path d="M22 11v2" />
<path d="M6 7H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2" />
<path d="M14 6h2a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2" />
<path d="M22 14v-4" />
<path d="M6 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h2" />
</svg>
}
}

View file

@ -0,0 +1,50 @@
use yew::prelude::*;
#[derive(PartialEq, Properties)]
pub struct CirclePoundSterlingProps {
#[prop_or(24)]
pub size: usize,
#[prop_or(AttrValue::from("currentColor"))]
pub color: AttrValue,
#[prop_or(AttrValue::from("none"))]
pub fill: AttrValue,
#[prop_or(2)]
pub stroke_width: usize,
#[prop_or(false)]
pub absolute_stroke_width: bool,
#[prop_or_default]
pub class: Classes,
#[prop_or_default]
pub style: std::option::Option<AttrValue>,
#[prop_or_default]
pub node_ref: NodeRef,
}
#[function_component]
pub fn CirclePoundSterling(props: &CirclePoundSterlingProps) -> Html {
let stroke_width = if props.absolute_stroke_width {
props.stroke_width * 24 / props.size
} else {
props.stroke_width
};
html! {
<svg
ref={props.node_ref.clone()}
class={classes!("lucide", props.class
.clone())}
style={props.style.clone()}
xmlns="http://www.w3.org/2000/svg"
width={props.size.to_string()}
height={props.size.to_string()}
viewBox="0 0 24 24"
fill={& props.fill}
stroke={& props.color}
stroke-width={stroke_width.to_string()}
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M10 16V9.5a1 1 0 0 1 5 0" />
<path d="M8 12h4" />
<path d="M8 16h7" />
<circle cx="12" cy="12" r="10" />
</svg>
}
}

View file

@ -0,0 +1,48 @@
use yew::prelude::*;
#[derive(PartialEq, Properties)]
pub struct CloudCheckProps {
#[prop_or(24)]
pub size: usize,
#[prop_or(AttrValue::from("currentColor"))]
pub color: AttrValue,
#[prop_or(AttrValue::from("none"))]
pub fill: AttrValue,
#[prop_or(2)]
pub stroke_width: usize,
#[prop_or(false)]
pub absolute_stroke_width: bool,
#[prop_or_default]
pub class: Classes,
#[prop_or_default]
pub style: std::option::Option<AttrValue>,
#[prop_or_default]
pub node_ref: NodeRef,
}
#[function_component]
pub fn CloudCheck(props: &CloudCheckProps) -> Html {
let stroke_width = if props.absolute_stroke_width {
props.stroke_width * 24 / props.size
} else {
props.stroke_width
};
html! {
<svg
ref={props.node_ref.clone()}
class={classes!("lucide", props.class
.clone())}
style={props.style.clone()}
xmlns="http://www.w3.org/2000/svg"
width={props.size.to_string()}
height={props.size.to_string()}
viewBox="0 0 24 24"
fill={& props.fill}
stroke={& props.color}
stroke-width={stroke_width.to_string()}
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="m17 15-5.5 5.5L9 18" />
<path d="M5 17.743A7 7 0 1 1 15.71 10h1.79a4.5 4.5 0 0 1 1.5 8.742" />
</svg>
}
}

View file

@ -42,10 +42,9 @@ pub fn Eraser(props: &EraserProps) -> Html {
stroke-linejoin="round"
>
<path
d="m7 21-4.3-4.3c-1-1-1-2.5 0-3.4l9.6-9.6c1-1 2.5-1 3.4 0l5.6 5.6c1 1 1 2.5 0 3.4L13 21"
d="M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21"
/>
<path d="M22 21H7" />
<path d="m5 11 9 9" />
<path d="m5.082 11.09 8.828 8.828" />
</svg>
}
}

View file

@ -41,10 +41,12 @@ pub fn FileBadge(props: &FileBadgeProps) -> Html {
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M12 22h6a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v3" />
<path d="M12 22h6a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v3.072" />
<path d="M14 2v4a2 2 0 0 0 2 2h4" />
<path d="M5 17a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z" />
<path d="M7 16.5 8 22l-3-1-3 1 1-5.5" />
<path
d="m6.69 16.479 1.29 4.88a.5.5 0 0 1-.698.591l-1.843-.849a1 1 0 0 0-.88.001l-1.846.85a.5.5 0 0 1-.693-.593l1.29-4.88"
/>
<circle cx="5" cy="14" r="3" />
</svg>
}
}

View file

@ -0,0 +1,50 @@
use yew::prelude::*;
#[derive(PartialEq, Properties)]
pub struct Grid3X2Props {
#[prop_or(24)]
pub size: usize,
#[prop_or(AttrValue::from("currentColor"))]
pub color: AttrValue,
#[prop_or(AttrValue::from("none"))]
pub fill: AttrValue,
#[prop_or(2)]
pub stroke_width: usize,
#[prop_or(false)]
pub absolute_stroke_width: bool,
#[prop_or_default]
pub class: Classes,
#[prop_or_default]
pub style: std::option::Option<AttrValue>,
#[prop_or_default]
pub node_ref: NodeRef,
}
#[function_component]
pub fn Grid3X2(props: &Grid3X2Props) -> Html {
let stroke_width = if props.absolute_stroke_width {
props.stroke_width * 24 / props.size
} else {
props.stroke_width
};
html! {
<svg
ref={props.node_ref.clone()}
class={classes!("lucide", props.class
.clone())}
style={props.style.clone()}
xmlns="http://www.w3.org/2000/svg"
width={props.size.to_string()}
height={props.size.to_string()}
viewBox="0 0 24 24"
fill={& props.fill}
stroke={& props.color}
stroke-width={stroke_width.to_string()}
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M15 3v18" />
<path d="M3 12h18" />
<path d="M9 3v18" />
<rect x="3" y="3" width="18" height="18" rx="2" />
</svg>
}
}

View file

@ -0,0 +1,51 @@
use yew::prelude::*;
#[derive(PartialEq, Properties)]
pub struct IdCardLanyardProps {
#[prop_or(24)]
pub size: usize,
#[prop_or(AttrValue::from("currentColor"))]
pub color: AttrValue,
#[prop_or(AttrValue::from("none"))]
pub fill: AttrValue,
#[prop_or(2)]
pub stroke_width: usize,
#[prop_or(false)]
pub absolute_stroke_width: bool,
#[prop_or_default]
pub class: Classes,
#[prop_or_default]
pub style: std::option::Option<AttrValue>,
#[prop_or_default]
pub node_ref: NodeRef,
}
#[function_component]
pub fn IdCardLanyard(props: &IdCardLanyardProps) -> Html {
let stroke_width = if props.absolute_stroke_width {
props.stroke_width * 24 / props.size
} else {
props.stroke_width
};
html! {
<svg
ref={props.node_ref.clone()}
class={classes!("lucide", props.class
.clone())}
style={props.style.clone()}
xmlns="http://www.w3.org/2000/svg"
width={props.size.to_string()}
height={props.size.to_string()}
viewBox="0 0 24 24"
fill={& props.fill}
stroke={& props.color}
stroke-width={stroke_width.to_string()}
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M13.5 8h-3" />
<path d="m15 2-1 2h3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h3" />
<path d="M16.899 22A5 5 0 0 0 7.1 22" />
<path d="m9 2 3 6" />
<circle cx="12" cy="15" r="3" />
</svg>
}
}

View file

@ -879,6 +879,8 @@ mod circle_play;
feature = "gaming"
))]
mod circle_plus;
#[cfg(feature = "finance")]
mod circle_pound_sterling;
#[cfg(feature = "connectivity")]
mod circle_power;
#[cfg(any(feature = "development", feature = "math"))]
@ -964,6 +966,8 @@ mod cloud;
#[cfg(feature = "development")]
mod cloud_alert;
#[cfg(feature = "development")]
mod cloud_check;
#[cfg(feature = "development")]
mod cloud_cog;
#[cfg(any(feature = "arrows", feature = "files"))]
mod cloud_download;
@ -1731,6 +1735,13 @@ mod grid_2_x_2_check;
mod grid_2_x_2_plus;
#[cfg(any(feature = "text", feature = "layout", feature = "math"))]
mod grid_2_x_2_x;
#[cfg(any(
feature = "text",
feature = "math",
feature = "layout",
feature = "design"
))]
mod grid_3_x_2;
#[cfg(any(feature = "text", feature = "layout", feature = "design"))]
mod grid_3_x_3;
#[cfg(feature = "layout")]
@ -1901,6 +1912,8 @@ mod ice_cream_bowl;
mod ice_cream_cone;
#[cfg(any(feature = "security", feature = "account"))]
mod id_card;
#[cfg(any(feature = "security", feature = "account"))]
mod id_card_lanyard;
#[cfg(any(
feature = "photography",
feature = "text",
@ -4923,6 +4936,8 @@ pub use circle_play::*;
feature = "gaming"
))]
pub use circle_plus::*;
#[cfg(feature = "finance")]
pub use circle_pound_sterling::*;
#[cfg(feature = "connectivity")]
pub use circle_power::*;
#[cfg(any(feature = "development", feature = "math"))]
@ -5008,6 +5023,8 @@ pub use cloud::*;
#[cfg(feature = "development")]
pub use cloud_alert::*;
#[cfg(feature = "development")]
pub use cloud_check::*;
#[cfg(feature = "development")]
pub use cloud_cog::*;
#[cfg(any(feature = "arrows", feature = "files"))]
pub use cloud_download::*;
@ -5775,6 +5792,13 @@ pub use grid_2_x_2_check::*;
pub use grid_2_x_2_plus::*;
#[cfg(any(feature = "text", feature = "layout", feature = "math"))]
pub use grid_2_x_2_x::*;
#[cfg(any(
feature = "text",
feature = "math",
feature = "layout",
feature = "design"
))]
pub use grid_3_x_2::*;
#[cfg(any(feature = "text", feature = "layout", feature = "design"))]
pub use grid_3_x_3::*;
#[cfg(feature = "layout")]
@ -5945,6 +5969,8 @@ pub use ice_cream_bowl::*;
pub use ice_cream_cone::*;
#[cfg(any(feature = "security", feature = "account"))]
pub use id_card::*;
#[cfg(any(feature = "security", feature = "account"))]
pub use id_card_lanyard::*;
#[cfg(any(
feature = "photography",
feature = "text",

View file

@ -41,11 +41,11 @@ pub fn ListCollapse(props: &ListCollapseProps) -> Html {
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="m3 10 2.5-2.5L3 5" />
<path d="m3 19 2.5-2.5L3 14" />
<path d="M10 6h11" />
<path d="M10 12h11" />
<path d="M10 18h11" />
<path d="M10 6h11" />
<path d="m3 10 3-3-3-3" />
<path d="m3 20 3-3-3-3" />
</svg>
}
}

View file

@ -41,9 +41,8 @@ pub fn Paperclip(props: &PaperclipProps) -> Html {
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M13.234 20.252 21 12.3" />
<path
d="m16 6-8.414 8.586a2 2 0 0 0 0 2.828 2 2 0 0 0 2.828 0l8.414-8.586a4 4 0 0 0 0-5.656 4 4 0 0 0-5.656 0l-8.415 8.585a6 6 0 1 0 8.486 8.486"
d="m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551"
/>
</svg>
}

View file

@ -41,7 +41,7 @@ pub fn SquareCheckBig(props: &SquareCheckBigProps) -> Html {
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M21 10.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.5" />
<path d="M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344" />
<path d="m9 11 3 3L22 4" />
</svg>
}

View file

@ -11,5 +11,5 @@ pub const GITHUB_OWNER: &str = "RustForWeb";
pub const GITHUB_REPO: &str = "lucide";
pub const UPSTREAM_GIT_URL: &str = "https://github.com/lucide-icons/lucide.git";
pub const UPSTREAM_GIT_REF: &str = "0.511.0";
pub const UPSTREAM_GIT_REF: &str = "0.512.0";
pub const UPSTREAM_GITHUB_URL: &str = "https://github.com/lucide-icons/lucide";