mirror of
https://github.com/danbulant/lucide
synced 2026-06-19 14:31:33 +00:00
Add Leptos and Yew icons
This commit is contained in:
parent
1fc93a202c
commit
fe7ec66653
3088 changed files with 154263 additions and 22 deletions
|
|
@ -8,17 +8,8 @@ pub fn App() -> impl IntoView {
|
|||
#[cfg(feature = "icons")]
|
||||
{
|
||||
use crate::icons::Icons;
|
||||
views.push(
|
||||
view! {
|
||||
<Icons />
|
||||
}
|
||||
.into_any(),
|
||||
);
|
||||
views.push(view! { <Icons/> }.into_any());
|
||||
}
|
||||
|
||||
view! {
|
||||
<div class="w-full h-full flex justify-center items-start">
|
||||
{views.into_view()}
|
||||
</div>
|
||||
}
|
||||
view! { <div class="w-full h-full flex justify-center items-start">{views.into_view()}</div> }
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -1,8 +1,30 @@
|
|||
# Lucide Dioxus
|
||||
|
||||
Implementation of the Lucide icon library for [Dioxus](https://dioxuslabs.com/) applications.
|
||||
|
||||
## Installation
|
||||
|
||||
```shell
|
||||
# Selective Icons
|
||||
cargo add lucide-dioxus --features camera,file-image,moon,sun
|
||||
|
||||
# All Icons
|
||||
cargo add lucide-dioxus --features full
|
||||
```
|
||||
|
||||
- [View on crates.io](https://crates.io/crates/lucide-dioxus)
|
||||
- [View on docs.rs](https://docs.rs/lucide-dioxus/latest/lucide_dioxus/)
|
||||
- [View source](https://github.com/RustForWeb/lucide/tree/main/packages/dioxus)
|
||||
|
||||
## Usage
|
||||
|
||||
TODO
|
||||
|
||||
## Example
|
||||
## Props
|
||||
|
||||
TODO
|
||||
|
||||
## Icons
|
||||
|
||||
```toml,trunk
|
||||
package = "lucide-dioxus-book"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,48 @@
|
|||
# Lucide Leptos
|
||||
|
||||
TODO
|
||||
Implementation of the Lucide icon library for [Leptos](https://leptos.dev/) applications.
|
||||
|
||||
## Example
|
||||
## Installation
|
||||
|
||||
Install the icons from your command line.
|
||||
|
||||
```shell
|
||||
# Selective Icons
|
||||
cargo add lucide-leptos --features camera,file-image,moon,sun
|
||||
|
||||
# All Icons
|
||||
cargo add lucide-leptos --features full
|
||||
```
|
||||
|
||||
- [View on crates.io](https://crates.io/crates/lucide-leptos)
|
||||
- [View on docs.rs](https://docs.rs/lucide-leptos/latest/lucide_leptos/)
|
||||
- [View source](https://github.com/RustForWeb/lucide/tree/main/packages/leptos)
|
||||
|
||||
## Usage
|
||||
|
||||
```rust,ignore
|
||||
use leptos::prelude::*;
|
||||
use lucide_leptos::Camera;
|
||||
|
||||
#[component]
|
||||
fn App() -> impl IntoView {
|
||||
view! {
|
||||
<Camera color="red" size=48 />
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Props
|
||||
|
||||
| Name | Type | Default |
|
||||
| ----------------------- | ---------------- | ---------------- |
|
||||
| `size` | `Signal<usize>` | `24` |
|
||||
| `color` | `Signal<String>` | `"currentColor"` |
|
||||
| `fill` | `Signal<String>` | `"none"` |
|
||||
| `stroke_width` | `Signal<usize>` | `2` |
|
||||
| `absolute_stroke_width` | `Signal<bool>` | `false` |
|
||||
|
||||
## Icons
|
||||
|
||||
```toml,trunk
|
||||
package = "lucide-leptos-book"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,48 @@
|
|||
# Lucide Yew
|
||||
|
||||
TODO
|
||||
Implementation of the Lucide icon library for [Yew](https://yew.rs/) applications.
|
||||
|
||||
## Example
|
||||
## Installation
|
||||
|
||||
Install the icons from your command line.
|
||||
|
||||
```shell
|
||||
# Selective Icons
|
||||
cargo add lucide-yew --features camera,file-image,moon,sun
|
||||
|
||||
# All Icons
|
||||
cargo add lucide-yew --features full
|
||||
```
|
||||
|
||||
- [View on crates.io](https://crates.io/crates/lucide-yew)
|
||||
- [View on docs.rs](https://docs.rs/lucide-yew/latest/lucide_yew/)
|
||||
- [View source](https://github.com/RustForWeb/lucide/tree/main/packages/yew)
|
||||
|
||||
## Usage
|
||||
|
||||
```rust,ignore
|
||||
use lucide_yew::Camera;
|
||||
use yew::prelude::*;
|
||||
|
||||
#[component]
|
||||
fn App() -> Html {
|
||||
html! {
|
||||
<Camera color="red" size=48 />
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Props
|
||||
|
||||
| Name | Type | Default |
|
||||
| ----------------------- | -------- | ---------------- |
|
||||
| `size` | `usize` | `24` |
|
||||
| `color` | `String` | `"currentColor"` |
|
||||
| `fill` | `String` | `"none"` |
|
||||
| `stroke_width` | `usize` | `2` |
|
||||
| `absolute_stroke_width` | `bool` | `false` |
|
||||
|
||||
## Icons
|
||||
|
||||
```toml,trunk
|
||||
package = "lucide-yew-book"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
38
packages/leptos/src/a_arrow_down.rs
Normal file
38
packages/leptos/src/a_arrow_down.rs
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn AArrowDown(
|
||||
#[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="M3.5 13h6"></path>
|
||||
<path d="m2 16 4.5-9 4.5 9"></path>
|
||||
<path d="M18 7v9"></path>
|
||||
<path d="m14 12 4 4 4-4"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
38
packages/leptos/src/a_arrow_up.rs
Normal file
38
packages/leptos/src/a_arrow_up.rs
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn AArrowUp(
|
||||
#[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="M3.5 13h6"></path>
|
||||
<path d="m2 16 4.5-9 4.5 9"></path>
|
||||
<path d="M18 16V7"></path>
|
||||
<path d="m14 11 4-4 4 4"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
38
packages/leptos/src/a_large_small.rs
Normal file
38
packages/leptos/src/a_large_small.rs
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ALargeSmall(
|
||||
#[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="M21 14h-5"></path>
|
||||
<path d="M16 16v-3.5a2.5 2.5 0 0 1 5 0V16"></path>
|
||||
<path d="M4.5 13h6"></path>
|
||||
<path d="m3 16 4.5-9 4.5 9"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
39
packages/leptos/src/accessibility.rs
Normal file
39
packages/leptos/src/accessibility.rs
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn Accessibility(
|
||||
#[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"
|
||||
>
|
||||
<circle cx="16" cy="4" r="1"></circle>
|
||||
<path d="m18 19 1-7-6 1"></path>
|
||||
<path d="m5 8 3-3 5.5 3-2.36 3.5"></path>
|
||||
<path d="M4.24 14.5a5 5 0 0 0 6.88 6"></path>
|
||||
<path d="M13.76 17.5a5 5 0 0 0-6.88-6"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
35
packages/leptos/src/activity.rs
Normal file
35
packages/leptos/src/activity.rs
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn Activity(
|
||||
#[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="M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
38
packages/leptos/src/air_vent.rs
Normal file
38
packages/leptos/src/air_vent.rs
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn AirVent(
|
||||
#[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="M6 12H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2"></path>
|
||||
<path d="M6 8h12"></path>
|
||||
<path d="M18.3 17.7a2.5 2.5 0 0 1-3.16 3.83 2.53 2.53 0 0 1-1.14-2V12"></path>
|
||||
<path d="M6.6 15.6A2 2 0 1 0 10 17v-5"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
36
packages/leptos/src/airplay.rs
Normal file
36
packages/leptos/src/airplay.rs
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn Airplay(
|
||||
#[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="M5 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1"></path>
|
||||
<path d="m12 15 5 6H7Z"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
40
packages/leptos/src/alarm_clock.rs
Normal file
40
packages/leptos/src/alarm_clock.rs
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn AlarmClock(
|
||||
#[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"
|
||||
>
|
||||
<circle cx="12" cy="13" r="8"></circle>
|
||||
<path d="M12 9v4l2 2"></path>
|
||||
<path d="M5 3 2 6"></path>
|
||||
<path d="m22 6-3-3"></path>
|
||||
<path d="M6.38 18.7 4 21"></path>
|
||||
<path d="M17.64 18.67 20 21"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
40
packages/leptos/src/alarm_clock_check.rs
Normal file
40
packages/leptos/src/alarm_clock_check.rs
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn AlarmClockCheck(
|
||||
#[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"
|
||||
>
|
||||
<circle cx="12" cy="13" r="8"></circle>
|
||||
<path d="M5 3 2 6"></path>
|
||||
<path d="m22 6-3-3"></path>
|
||||
<path d="M6.38 18.7 4 21"></path>
|
||||
<path d="M17.64 18.67 20 21"></path>
|
||||
<path d="m9 13 2 2 4-4"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
40
packages/leptos/src/alarm_clock_minus.rs
Normal file
40
packages/leptos/src/alarm_clock_minus.rs
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn AlarmClockMinus(
|
||||
#[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"
|
||||
>
|
||||
<circle cx="12" cy="13" r="8"></circle>
|
||||
<path d="M5 3 2 6"></path>
|
||||
<path d="m22 6-3-3"></path>
|
||||
<path d="M6.38 18.7 4 21"></path>
|
||||
<path d="M17.64 18.67 20 21"></path>
|
||||
<path d="M9 13h6"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
40
packages/leptos/src/alarm_clock_off.rs
Normal file
40
packages/leptos/src/alarm_clock_off.rs
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn AlarmClockOff(
|
||||
#[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="M6.87 6.87a8 8 0 1 0 11.26 11.26"></path>
|
||||
<path d="M19.9 14.25a8 8 0 0 0-9.15-9.15"></path>
|
||||
<path d="m22 6-3-3"></path>
|
||||
<path d="M6.26 18.67 4 21"></path>
|
||||
<path d="m2 2 20 20"></path>
|
||||
<path d="M4 4 2 6"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
41
packages/leptos/src/alarm_clock_plus.rs
Normal file
41
packages/leptos/src/alarm_clock_plus.rs
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn AlarmClockPlus(
|
||||
#[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"
|
||||
>
|
||||
<circle cx="12" cy="13" r="8"></circle>
|
||||
<path d="M5 3 2 6"></path>
|
||||
<path d="m22 6-3-3"></path>
|
||||
<path d="M6.38 18.7 4 21"></path>
|
||||
<path d="M17.64 18.67 20 21"></path>
|
||||
<path d="M12 10v6"></path>
|
||||
<path d="M9 13h6"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
39
packages/leptos/src/alarm_smoke.rs
Normal file
39
packages/leptos/src/alarm_smoke.rs
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn AlarmSmoke(
|
||||
#[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="M11 21c0-2.5 2-2.5 2-5"></path>
|
||||
<path d="M16 21c0-2.5 2-2.5 2-5"></path>
|
||||
<path d="m19 8-.8 3a1.25 1.25 0 0 1-1.2 1H7a1.25 1.25 0 0 1-1.2-1L5 8"></path>
|
||||
<path d="M21 3a1 1 0 0 1 1 1v2a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4a1 1 0 0 1 1-1z"></path>
|
||||
<path d="M6 21c0-2.5 2-2.5 2-5"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
36
packages/leptos/src/album.rs
Normal file
36
packages/leptos/src/album.rs
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn Album(
|
||||
#[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"
|
||||
>
|
||||
<rect width="18" height="18" x="3" y="3" rx="2" ry="2"></rect>
|
||||
<polyline points="11 3 11 11 14 8 17 11 17 3"></polyline>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
37
packages/leptos/src/align_center.rs
Normal file
37
packages/leptos/src/align_center.rs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn AlignCenter(
|
||||
#[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 12H7"></path>
|
||||
<path d="M19 18H5"></path>
|
||||
<path d="M21 6H3"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
39
packages/leptos/src/align_center_horizontal.rs
Normal file
39
packages/leptos/src/align_center_horizontal.rs
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn AlignCenterHorizontal(
|
||||
#[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="M2 12h20"></path>
|
||||
<path d="M10 16v4a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-4"></path>
|
||||
<path d="M10 8V4a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v4"></path>
|
||||
<path d="M20 16v1a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2v-1"></path>
|
||||
<path d="M14 8V7c0-1.1.9-2 2-2h2a2 2 0 0 1 2 2v1"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
39
packages/leptos/src/align_center_vertical.rs
Normal file
39
packages/leptos/src/align_center_vertical.rs
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn AlignCenterVertical(
|
||||
#[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="M12 2v20"></path>
|
||||
<path d="M8 10H4a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h4"></path>
|
||||
<path d="M16 10h4a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-4"></path>
|
||||
<path d="M8 20H7a2 2 0 0 1-2-2v-2c0-1.1.9-2 2-2h1"></path>
|
||||
<path d="M16 14h1a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-1"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
37
packages/leptos/src/align_end_horizontal.rs
Normal file
37
packages/leptos/src/align_end_horizontal.rs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn AlignEndHorizontal(
|
||||
#[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"
|
||||
>
|
||||
<rect width="6" height="16" x="4" y="2" rx="2"></rect>
|
||||
<rect width="6" height="9" x="14" y="9" rx="2"></rect>
|
||||
<path d="M22 22H2"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
37
packages/leptos/src/align_end_vertical.rs
Normal file
37
packages/leptos/src/align_end_vertical.rs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn AlignEndVertical(
|
||||
#[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"
|
||||
>
|
||||
<rect width="16" height="6" x="2" y="4" rx="2"></rect>
|
||||
<rect width="9" height="6" x="9" y="14" rx="2"></rect>
|
||||
<path d="M22 22V2"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
40
packages/leptos/src/align_horizontal_distribute_center.rs
Normal file
40
packages/leptos/src/align_horizontal_distribute_center.rs
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn AlignHorizontalDistributeCenter(
|
||||
#[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"
|
||||
>
|
||||
<rect width="6" height="14" x="4" y="5" rx="2"></rect>
|
||||
<rect width="6" height="10" x="14" y="7" rx="2"></rect>
|
||||
<path d="M17 22v-5"></path>
|
||||
<path d="M17 7V2"></path>
|
||||
<path d="M7 22v-3"></path>
|
||||
<path d="M7 5V2"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
38
packages/leptos/src/align_horizontal_distribute_end.rs
Normal file
38
packages/leptos/src/align_horizontal_distribute_end.rs
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn AlignHorizontalDistributeEnd(
|
||||
#[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"
|
||||
>
|
||||
<rect width="6" height="14" x="4" y="5" rx="2"></rect>
|
||||
<rect width="6" height="10" x="14" y="7" rx="2"></rect>
|
||||
<path d="M10 2v20"></path>
|
||||
<path d="M20 2v20"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
38
packages/leptos/src/align_horizontal_distribute_start.rs
Normal file
38
packages/leptos/src/align_horizontal_distribute_start.rs
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn AlignHorizontalDistributeStart(
|
||||
#[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"
|
||||
>
|
||||
<rect width="6" height="14" x="4" y="5" rx="2"></rect>
|
||||
<rect width="6" height="10" x="14" y="7" rx="2"></rect>
|
||||
<path d="M4 2v20"></path>
|
||||
<path d="M14 2v20"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
37
packages/leptos/src/align_horizontal_justify_center.rs
Normal file
37
packages/leptos/src/align_horizontal_justify_center.rs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn AlignHorizontalJustifyCenter(
|
||||
#[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"
|
||||
>
|
||||
<rect width="6" height="14" x="2" y="5" rx="2"></rect>
|
||||
<rect width="6" height="10" x="16" y="7" rx="2"></rect>
|
||||
<path d="M12 2v20"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
37
packages/leptos/src/align_horizontal_justify_end.rs
Normal file
37
packages/leptos/src/align_horizontal_justify_end.rs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn AlignHorizontalJustifyEnd(
|
||||
#[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"
|
||||
>
|
||||
<rect width="6" height="14" x="2" y="5" rx="2"></rect>
|
||||
<rect width="6" height="10" x="12" y="7" rx="2"></rect>
|
||||
<path d="M22 2v20"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
37
packages/leptos/src/align_horizontal_justify_start.rs
Normal file
37
packages/leptos/src/align_horizontal_justify_start.rs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn AlignHorizontalJustifyStart(
|
||||
#[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"
|
||||
>
|
||||
<rect width="6" height="14" x="6" y="5" rx="2"></rect>
|
||||
<rect width="6" height="10" x="16" y="7" rx="2"></rect>
|
||||
<path d="M2 2v20"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
37
packages/leptos/src/align_horizontal_space_around.rs
Normal file
37
packages/leptos/src/align_horizontal_space_around.rs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn AlignHorizontalSpaceAround(
|
||||
#[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"
|
||||
>
|
||||
<rect width="6" height="10" x="9" y="7" rx="2"></rect>
|
||||
<path d="M4 22V2"></path>
|
||||
<path d="M20 22V2"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
38
packages/leptos/src/align_horizontal_space_between.rs
Normal file
38
packages/leptos/src/align_horizontal_space_between.rs
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn AlignHorizontalSpaceBetween(
|
||||
#[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"
|
||||
>
|
||||
<rect width="6" height="14" x="3" y="5" rx="2"></rect>
|
||||
<rect width="6" height="10" x="15" y="7" rx="2"></rect>
|
||||
<path d="M3 2v20"></path>
|
||||
<path d="M21 2v20"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
37
packages/leptos/src/align_justify.rs
Normal file
37
packages/leptos/src/align_justify.rs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn AlignJustify(
|
||||
#[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="M3 12h18"></path>
|
||||
<path d="M3 18h18"></path>
|
||||
<path d="M3 6h18"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
37
packages/leptos/src/align_left.rs
Normal file
37
packages/leptos/src/align_left.rs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn AlignLeft(
|
||||
#[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 12H3"></path>
|
||||
<path d="M17 18H3"></path>
|
||||
<path d="M21 6H3"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
37
packages/leptos/src/align_right.rs
Normal file
37
packages/leptos/src/align_right.rs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn AlignRight(
|
||||
#[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="M21 12H9"></path>
|
||||
<path d="M21 18H7"></path>
|
||||
<path d="M21 6H3"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
37
packages/leptos/src/align_start_horizontal.rs
Normal file
37
packages/leptos/src/align_start_horizontal.rs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn AlignStartHorizontal(
|
||||
#[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"
|
||||
>
|
||||
<rect width="6" height="16" x="4" y="6" rx="2"></rect>
|
||||
<rect width="6" height="9" x="14" y="6" rx="2"></rect>
|
||||
<path d="M22 2H2"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
37
packages/leptos/src/align_start_vertical.rs
Normal file
37
packages/leptos/src/align_start_vertical.rs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn AlignStartVertical(
|
||||
#[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"
|
||||
>
|
||||
<rect width="9" height="6" x="6" y="14" rx="2"></rect>
|
||||
<rect width="16" height="6" x="6" y="4" rx="2"></rect>
|
||||
<path d="M2 2v20"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
40
packages/leptos/src/align_vertical_distribute_center.rs
Normal file
40
packages/leptos/src/align_vertical_distribute_center.rs
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn AlignVerticalDistributeCenter(
|
||||
#[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="M22 17h-3"></path>
|
||||
<path d="M22 7h-5"></path>
|
||||
<path d="M5 17H2"></path>
|
||||
<path d="M7 7H2"></path>
|
||||
<rect x="5" y="14" width="14" height="6" rx="2"></rect>
|
||||
<rect x="7" y="4" width="10" height="6" rx="2"></rect>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
38
packages/leptos/src/align_vertical_distribute_end.rs
Normal file
38
packages/leptos/src/align_vertical_distribute_end.rs
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn AlignVerticalDistributeEnd(
|
||||
#[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"
|
||||
>
|
||||
<rect width="14" height="6" x="5" y="14" rx="2"></rect>
|
||||
<rect width="10" height="6" x="7" y="4" rx="2"></rect>
|
||||
<path d="M2 20h20"></path>
|
||||
<path d="M2 10h20"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
38
packages/leptos/src/align_vertical_distribute_start.rs
Normal file
38
packages/leptos/src/align_vertical_distribute_start.rs
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn AlignVerticalDistributeStart(
|
||||
#[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"
|
||||
>
|
||||
<rect width="14" height="6" x="5" y="14" rx="2"></rect>
|
||||
<rect width="10" height="6" x="7" y="4" rx="2"></rect>
|
||||
<path d="M2 14h20"></path>
|
||||
<path d="M2 4h20"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
37
packages/leptos/src/align_vertical_justify_center.rs
Normal file
37
packages/leptos/src/align_vertical_justify_center.rs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn AlignVerticalJustifyCenter(
|
||||
#[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"
|
||||
>
|
||||
<rect width="14" height="6" x="5" y="16" rx="2"></rect>
|
||||
<rect width="10" height="6" x="7" y="2" rx="2"></rect>
|
||||
<path d="M2 12h20"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
37
packages/leptos/src/align_vertical_justify_end.rs
Normal file
37
packages/leptos/src/align_vertical_justify_end.rs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn AlignVerticalJustifyEnd(
|
||||
#[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"
|
||||
>
|
||||
<rect width="14" height="6" x="5" y="12" rx="2"></rect>
|
||||
<rect width="10" height="6" x="7" y="2" rx="2"></rect>
|
||||
<path d="M2 22h20"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
37
packages/leptos/src/align_vertical_justify_start.rs
Normal file
37
packages/leptos/src/align_vertical_justify_start.rs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn AlignVerticalJustifyStart(
|
||||
#[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"
|
||||
>
|
||||
<rect width="14" height="6" x="5" y="16" rx="2"></rect>
|
||||
<rect width="10" height="6" x="7" y="6" rx="2"></rect>
|
||||
<path d="M2 2h20"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
37
packages/leptos/src/align_vertical_space_around.rs
Normal file
37
packages/leptos/src/align_vertical_space_around.rs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn AlignVerticalSpaceAround(
|
||||
#[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"
|
||||
>
|
||||
<rect width="10" height="6" x="7" y="9" rx="2"></rect>
|
||||
<path d="M22 20H2"></path>
|
||||
<path d="M22 4H2"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
38
packages/leptos/src/align_vertical_space_between.rs
Normal file
38
packages/leptos/src/align_vertical_space_between.rs
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn AlignVerticalSpaceBetween(
|
||||
#[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"
|
||||
>
|
||||
<rect width="14" height="6" x="5" y="15" rx="2"></rect>
|
||||
<rect width="10" height="6" x="7" y="3" rx="2"></rect>
|
||||
<path d="M2 21h20"></path>
|
||||
<path d="M2 3h20"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
41
packages/leptos/src/ambulance.rs
Normal file
41
packages/leptos/src/ambulance.rs
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn Ambulance(
|
||||
#[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 10H6"></path>
|
||||
<path d="M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2"></path>
|
||||
<path d="M19 18h2a1 1 0 0 0 1-1v-3.28a1 1 0 0 0-.684-.948l-1.923-.641a1 1 0 0 1-.578-.502l-1.539-3.076A1 1 0 0 0 16.382 8H14"></path>
|
||||
<path d="M8 8v4"></path>
|
||||
<path d="M9 18h6"></path>
|
||||
<circle cx="17" cy="18" r="2"></circle>
|
||||
<circle cx="7" cy="18" r="2"></circle>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
36
packages/leptos/src/ampersand.rs
Normal file
36
packages/leptos/src/ampersand.rs
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn Ampersand(
|
||||
#[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.5 12c0 4.4-3.6 8-8 8A4.5 4.5 0 0 1 5 15.5c0-6 8-4 8-8.5a3 3 0 1 0-6 0c0 3 2.5 8.5 12 13"></path>
|
||||
<path d="M16 12h3"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
36
packages/leptos/src/ampersands.rs
Normal file
36
packages/leptos/src/ampersands.rs
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn Ampersands(
|
||||
#[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 17c-5-3-7-7-7-9a2 2 0 0 1 4 0c0 2.5-5 2.5-5 6 0 1.7 1.3 3 3 3 2.8 0 5-2.2 5-5"></path>
|
||||
<path d="M22 17c-5-3-7-7-7-9a2 2 0 0 1 4 0c0 2.5-5 2.5-5 6 0 1.7 1.3 3 3 3 2.8 0 5-2.2 5-5"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
40
packages/leptos/src/amphora.rs
Normal file
40
packages/leptos/src/amphora.rs
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn Amphora(
|
||||
#[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 2v5.632c0 .424-.272.795-.653.982A6 6 0 0 0 6 14c.006 4 3 7 5 8"></path>
|
||||
<path d="M10 5H8a2 2 0 0 0 0 4h.68"></path>
|
||||
<path d="M14 2v5.632c0 .424.272.795.652.982A6 6 0 0 1 18 14c0 4-3 7-5 8"></path>
|
||||
<path d="M14 5h2a2 2 0 0 1 0 4h-.68"></path>
|
||||
<path d="M18 22H6"></path>
|
||||
<path d="M9 2h6"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
37
packages/leptos/src/anchor.rs
Normal file
37
packages/leptos/src/anchor.rs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn Anchor(
|
||||
#[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="M12 22V8"></path>
|
||||
<path d="M5 12H2a10 10 0 0 0 20 0h-3"></path>
|
||||
<circle cx="12" cy="5" r="3"></circle>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
40
packages/leptos/src/angry.rs
Normal file
40
packages/leptos/src/angry.rs
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn Angry(
|
||||
#[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"
|
||||
>
|
||||
<circle cx="12" cy="12" r="10"></circle>
|
||||
<path d="M16 16s-1.5-2-4-2-4 2-4 2"></path>
|
||||
<path d="M7.5 8 10 9"></path>
|
||||
<path d="m14 9 2.5-1"></path>
|
||||
<path d="M9 10h.01"></path>
|
||||
<path d="M15 10h.01"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
38
packages/leptos/src/annoyed.rs
Normal file
38
packages/leptos/src/annoyed.rs
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn Annoyed(
|
||||
#[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"
|
||||
>
|
||||
<circle cx="12" cy="12" r="10"></circle>
|
||||
<path d="M8 15h8"></path>
|
||||
<path d="M8 9h2"></path>
|
||||
<path d="M14 9h2"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
40
packages/leptos/src/antenna.rs
Normal file
40
packages/leptos/src/antenna.rs
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn Antenna(
|
||||
#[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="M2 12 7 2"></path>
|
||||
<path d="m7 12 5-10"></path>
|
||||
<path d="m12 12 5-10"></path>
|
||||
<path d="m17 12 5-10"></path>
|
||||
<path d="M4.5 7h15"></path>
|
||||
<path d="M12 16v6"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
39
packages/leptos/src/anvil.rs
Normal file
39
packages/leptos/src/anvil.rs
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn Anvil(
|
||||
#[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="M7 10H6a4 4 0 0 1-4-4 1 1 0 0 1 1-1h4"></path>
|
||||
<path d="M7 5a1 1 0 0 1 1-1h13a1 1 0 0 1 1 1 7 7 0 0 1-7 7H8a1 1 0 0 1-1-1z"></path>
|
||||
<path d="M9 12v5"></path>
|
||||
<path d="M15 12v5"></path>
|
||||
<path d="M5 20a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3 1 1 0 0 1-1 1H6a1 1 0 0 1-1-1"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
41
packages/leptos/src/aperture.rs
Normal file
41
packages/leptos/src/aperture.rs
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn Aperture(
|
||||
#[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"
|
||||
>
|
||||
<circle cx="12" cy="12" r="10"></circle>
|
||||
<path d="m14.31 8 5.74 9.94"></path>
|
||||
<path d="M9.69 8h11.48"></path>
|
||||
<path d="m7.38 12 5.74-9.94"></path>
|
||||
<path d="M9.69 16 3.95 6.06"></path>
|
||||
<path d="M14.31 16H2.83"></path>
|
||||
<path d="m16.62 12-5.74 9.94"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
38
packages/leptos/src/app_window.rs
Normal file
38
packages/leptos/src/app_window.rs
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn AppWindow(
|
||||
#[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"
|
||||
>
|
||||
<rect x="2" y="4" width="20" height="16" rx="2"></rect>
|
||||
<path d="M10 4v4"></path>
|
||||
<path d="M2 8h20"></path>
|
||||
<path d="M6 4v4"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
38
packages/leptos/src/app_window_mac.rs
Normal file
38
packages/leptos/src/app_window_mac.rs
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn AppWindowMac(
|
||||
#[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"
|
||||
>
|
||||
<rect width="20" height="16" x="2" y="4" rx="2"></rect>
|
||||
<path d="M6 8h.01"></path>
|
||||
<path d="M10 8h.01"></path>
|
||||
<path d="M14 8h.01"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
36
packages/leptos/src/apple.rs
Normal file
36
packages/leptos/src/apple.rs
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn Apple(
|
||||
#[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="M12 20.94c1.5 0 2.75 1.06 4 1.06 3 0 6-8 6-12.22A4.91 4.91 0 0 0 17 5c-2.22 0-4 1.44-5 2-1-.56-2.78-2-5-2a4.9 4.9 0 0 0-5 4.78C2 14 5 22 8 22c1.25 0 2.5-1.06 4-1.06Z"></path>
|
||||
<path d="M10 2c1 .5 2 2 2 5"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
37
packages/leptos/src/archive.rs
Normal file
37
packages/leptos/src/archive.rs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn Archive(
|
||||
#[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"
|
||||
>
|
||||
<rect width="20" height="5" x="2" y="3" rx="1"></rect>
|
||||
<path d="M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8"></path>
|
||||
<path d="M10 12h4"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
39
packages/leptos/src/archive_restore.rs
Normal file
39
packages/leptos/src/archive_restore.rs
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ArchiveRestore(
|
||||
#[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"
|
||||
>
|
||||
<rect width="20" height="5" x="2" y="3" rx="1"></rect>
|
||||
<path d="M4 8v11a2 2 0 0 0 2 2h2"></path>
|
||||
<path d="M20 8v11a2 2 0 0 1-2 2h-2"></path>
|
||||
<path d="m9 15 3-3 3 3"></path>
|
||||
<path d="M12 12v9"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
38
packages/leptos/src/archive_x.rs
Normal file
38
packages/leptos/src/archive_x.rs
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ArchiveX(
|
||||
#[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"
|
||||
>
|
||||
<rect width="20" height="5" x="2" y="3" rx="1"></rect>
|
||||
<path d="M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8"></path>
|
||||
<path d="m9.5 17 5-5"></path>
|
||||
<path d="m9.5 12 5 5"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
38
packages/leptos/src/armchair.rs
Normal file
38
packages/leptos/src/armchair.rs
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn Armchair(
|
||||
#[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="M19 9V6a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v3"></path>
|
||||
<path d="M3 16a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-5a2 2 0 0 0-4 0v1.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5V11a2 2 0 0 0-4 0z"></path>
|
||||
<path d="M5 18v2"></path>
|
||||
<path d="M19 18v2"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
35
packages/leptos/src/arrow_big_down.rs
Normal file
35
packages/leptos/src/arrow_big_down.rs
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ArrowBigDown(
|
||||
#[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 6v6h4l-7 7-7-7h4V6h6z"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
36
packages/leptos/src/arrow_big_down_dash.rs
Normal file
36
packages/leptos/src/arrow_big_down_dash.rs
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ArrowBigDownDash(
|
||||
#[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 5H9"></path>
|
||||
<path d="M15 9v3h4l-7 7-7-7h4V9z"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
35
packages/leptos/src/arrow_big_left.rs
Normal file
35
packages/leptos/src/arrow_big_left.rs
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ArrowBigLeft(
|
||||
#[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="M18 15h-6v4l-7-7 7-7v4h6v6z"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
36
packages/leptos/src/arrow_big_left_dash.rs
Normal file
36
packages/leptos/src/arrow_big_left_dash.rs
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ArrowBigLeftDash(
|
||||
#[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="M19 15V9"></path>
|
||||
<path d="M15 15h-3v4l-7-7 7-7v4h3v6z"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
35
packages/leptos/src/arrow_big_right.rs
Normal file
35
packages/leptos/src/arrow_big_right.rs
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ArrowBigRight(
|
||||
#[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="M6 9h6V5l7 7-7 7v-4H6V9z"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
36
packages/leptos/src/arrow_big_right_dash.rs
Normal file
36
packages/leptos/src/arrow_big_right_dash.rs
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ArrowBigRightDash(
|
||||
#[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="M5 9v6"></path>
|
||||
<path d="M9 9h3V5l7 7-7 7v-4H9V9z"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
35
packages/leptos/src/arrow_big_up.rs
Normal file
35
packages/leptos/src/arrow_big_up.rs
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ArrowBigUp(
|
||||
#[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="M9 18v-6H5l7-7 7 7h-4v6H9z"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
36
packages/leptos/src/arrow_big_up_dash.rs
Normal file
36
packages/leptos/src/arrow_big_up_dash.rs
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ArrowBigUpDash(
|
||||
#[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="M9 19h6"></path>
|
||||
<path d="M9 15v-3H5l7-7 7 7h-4v3H9z"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
36
packages/leptos/src/arrow_down.rs
Normal file
36
packages/leptos/src/arrow_down.rs
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ArrowDown(
|
||||
#[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="M12 5v14"></path>
|
||||
<path d="m19 12-7 7-7-7"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
39
packages/leptos/src/arrow_down_0_1.rs
Normal file
39
packages/leptos/src/arrow_down_0_1.rs
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ArrowDown01(
|
||||
#[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="m3 16 4 4 4-4"></path>
|
||||
<path d="M7 20V4"></path>
|
||||
<rect x="15" y="4" width="4" height="6" ry="2"></rect>
|
||||
<path d="M17 20v-6h-2"></path>
|
||||
<path d="M15 20h4"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
39
packages/leptos/src/arrow_down_1_0.rs
Normal file
39
packages/leptos/src/arrow_down_1_0.rs
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ArrowDown10(
|
||||
#[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="m3 16 4 4 4-4"></path>
|
||||
<path d="M7 20V4"></path>
|
||||
<path d="M17 10V4h-2"></path>
|
||||
<path d="M15 10h4"></path>
|
||||
<rect x="15" y="14" width="4" height="6" ry="2"></rect>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
39
packages/leptos/src/arrow_down_a_z.rs
Normal file
39
packages/leptos/src/arrow_down_a_z.rs
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ArrowDownAZ(
|
||||
#[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="m3 16 4 4 4-4"></path>
|
||||
<path d="M7 20V4"></path>
|
||||
<path d="M20 8h-5"></path>
|
||||
<path d="M15 10V6.5a2.5 2.5 0 0 1 5 0V10"></path>
|
||||
<path d="M15 14h5l-5 6h5"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
37
packages/leptos/src/arrow_down_from_line.rs
Normal file
37
packages/leptos/src/arrow_down_from_line.rs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ArrowDownFromLine(
|
||||
#[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="M19 3H5"></path>
|
||||
<path d="M12 21V7"></path>
|
||||
<path d="m6 15 6 6 6-6"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
36
packages/leptos/src/arrow_down_left.rs
Normal file
36
packages/leptos/src/arrow_down_left.rs
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ArrowDownLeft(
|
||||
#[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 7 7 17"></path>
|
||||
<path d="M17 17H7V7"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
39
packages/leptos/src/arrow_down_narrow_wide.rs
Normal file
39
packages/leptos/src/arrow_down_narrow_wide.rs
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ArrowDownNarrowWide(
|
||||
#[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="m3 16 4 4 4-4"></path>
|
||||
<path d="M7 20V4"></path>
|
||||
<path d="M11 4h4"></path>
|
||||
<path d="M11 8h7"></path>
|
||||
<path d="M11 12h10"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
36
packages/leptos/src/arrow_down_right.rs
Normal file
36
packages/leptos/src/arrow_down_right.rs
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ArrowDownRight(
|
||||
#[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="m7 7 10 10"></path>
|
||||
<path d="M17 7v10H7"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
37
packages/leptos/src/arrow_down_to_dot.rs
Normal file
37
packages/leptos/src/arrow_down_to_dot.rs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ArrowDownToDot(
|
||||
#[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="M12 2v14"></path>
|
||||
<path d="m19 9-7 7-7-7"></path>
|
||||
<circle cx="12" cy="21" r="1"></circle>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
37
packages/leptos/src/arrow_down_to_line.rs
Normal file
37
packages/leptos/src/arrow_down_to_line.rs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ArrowDownToLine(
|
||||
#[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="M12 17V3"></path>
|
||||
<path d="m6 11 6 6 6-6"></path>
|
||||
<path d="M19 21H5"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
38
packages/leptos/src/arrow_down_up.rs
Normal file
38
packages/leptos/src/arrow_down_up.rs
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ArrowDownUp(
|
||||
#[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="m3 16 4 4 4-4"></path>
|
||||
<path d="M7 20V4"></path>
|
||||
<path d="m21 8-4-4-4 4"></path>
|
||||
<path d="M17 4v16"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
39
packages/leptos/src/arrow_down_wide_narrow.rs
Normal file
39
packages/leptos/src/arrow_down_wide_narrow.rs
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ArrowDownWideNarrow(
|
||||
#[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="m3 16 4 4 4-4"></path>
|
||||
<path d="M7 20V4"></path>
|
||||
<path d="M11 4h10"></path>
|
||||
<path d="M11 8h7"></path>
|
||||
<path d="M11 12h4"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
39
packages/leptos/src/arrow_down_z_a.rs
Normal file
39
packages/leptos/src/arrow_down_z_a.rs
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ArrowDownZA(
|
||||
#[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="m3 16 4 4 4-4"></path>
|
||||
<path d="M7 4v16"></path>
|
||||
<path d="M15 4h5l-5 6h5"></path>
|
||||
<path d="M15 20v-3.5a2.5 2.5 0 0 1 5 0V20"></path>
|
||||
<path d="M20 18h-5"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
36
packages/leptos/src/arrow_left.rs
Normal file
36
packages/leptos/src/arrow_left.rs
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ArrowLeft(
|
||||
#[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="m12 19-7-7 7-7"></path>
|
||||
<path d="M19 12H5"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
37
packages/leptos/src/arrow_left_from_line.rs
Normal file
37
packages/leptos/src/arrow_left_from_line.rs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ArrowLeftFromLine(
|
||||
#[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="m9 6-6 6 6 6"></path>
|
||||
<path d="M3 12h14"></path>
|
||||
<path d="M21 19V5"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
38
packages/leptos/src/arrow_left_right.rs
Normal file
38
packages/leptos/src/arrow_left_right.rs
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ArrowLeftRight(
|
||||
#[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="M8 3 4 7l4 4"></path>
|
||||
<path d="M4 7h16"></path>
|
||||
<path d="m16 21 4-4-4-4"></path>
|
||||
<path d="M20 17H4"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
37
packages/leptos/src/arrow_left_to_line.rs
Normal file
37
packages/leptos/src/arrow_left_to_line.rs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ArrowLeftToLine(
|
||||
#[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="M3 19V5"></path>
|
||||
<path d="m13 6-6 6 6 6"></path>
|
||||
<path d="M7 12h14"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
36
packages/leptos/src/arrow_right.rs
Normal file
36
packages/leptos/src/arrow_right.rs
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ArrowRight(
|
||||
#[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="M5 12h14"></path>
|
||||
<path d="m12 5 7 7-7 7"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
37
packages/leptos/src/arrow_right_from_line.rs
Normal file
37
packages/leptos/src/arrow_right_from_line.rs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ArrowRightFromLine(
|
||||
#[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="M3 5v14"></path>
|
||||
<path d="M21 12H7"></path>
|
||||
<path d="m15 18 6-6-6-6"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
38
packages/leptos/src/arrow_right_left.rs
Normal file
38
packages/leptos/src/arrow_right_left.rs
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ArrowRightLeft(
|
||||
#[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="m16 3 4 4-4 4"></path>
|
||||
<path d="M20 7H4"></path>
|
||||
<path d="m8 21-4-4 4-4"></path>
|
||||
<path d="M4 17h16"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
37
packages/leptos/src/arrow_right_to_line.rs
Normal file
37
packages/leptos/src/arrow_right_to_line.rs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ArrowRightToLine(
|
||||
#[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 12H3"></path>
|
||||
<path d="m11 18 6-6-6-6"></path>
|
||||
<path d="M21 5v14"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
36
packages/leptos/src/arrow_up.rs
Normal file
36
packages/leptos/src/arrow_up.rs
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ArrowUp(
|
||||
#[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="m5 12 7-7 7 7"></path>
|
||||
<path d="M12 19V5"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
39
packages/leptos/src/arrow_up_0_1.rs
Normal file
39
packages/leptos/src/arrow_up_0_1.rs
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ArrowUp01(
|
||||
#[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="m3 8 4-4 4 4"></path>
|
||||
<path d="M7 4v16"></path>
|
||||
<rect x="15" y="4" width="4" height="6" ry="2"></rect>
|
||||
<path d="M17 20v-6h-2"></path>
|
||||
<path d="M15 20h4"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
39
packages/leptos/src/arrow_up_1_0.rs
Normal file
39
packages/leptos/src/arrow_up_1_0.rs
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ArrowUp10(
|
||||
#[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="m3 8 4-4 4 4"></path>
|
||||
<path d="M7 4v16"></path>
|
||||
<path d="M17 10V4h-2"></path>
|
||||
<path d="M15 10h4"></path>
|
||||
<rect x="15" y="14" width="4" height="6" ry="2"></rect>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
39
packages/leptos/src/arrow_up_a_z.rs
Normal file
39
packages/leptos/src/arrow_up_a_z.rs
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ArrowUpAZ(
|
||||
#[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="m3 8 4-4 4 4"></path>
|
||||
<path d="M7 4v16"></path>
|
||||
<path d="M20 8h-5"></path>
|
||||
<path d="M15 10V6.5a2.5 2.5 0 0 1 5 0V10"></path>
|
||||
<path d="M15 14h5l-5 6h5"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
38
packages/leptos/src/arrow_up_down.rs
Normal file
38
packages/leptos/src/arrow_up_down.rs
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ArrowUpDown(
|
||||
#[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="m21 16-4 4-4-4"></path>
|
||||
<path d="M17 20V4"></path>
|
||||
<path d="m3 8 4-4 4 4"></path>
|
||||
<path d="M7 4v16"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
37
packages/leptos/src/arrow_up_from_dot.rs
Normal file
37
packages/leptos/src/arrow_up_from_dot.rs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ArrowUpFromDot(
|
||||
#[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="m5 9 7-7 7 7"></path>
|
||||
<path d="M12 16V2"></path>
|
||||
<circle cx="12" cy="21" r="1"></circle>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
37
packages/leptos/src/arrow_up_from_line.rs
Normal file
37
packages/leptos/src/arrow_up_from_line.rs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ArrowUpFromLine(
|
||||
#[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="m18 9-6-6-6 6"></path>
|
||||
<path d="M12 3v14"></path>
|
||||
<path d="M5 21h14"></path>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue