orbital-core-components 0.1.1

Themed Orbital UI components for Leptos applications
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use leptos::prelude::*;

/// Leading slot for icons, currency symbols, or units inside [`Input`](super::input::Input).
#[slot]
pub struct InputPrefix {
    #[prop(default = true)]
    pub if_: bool,
    pub children: Children,
}

/// Trailing slot for units, actions, or affix text inside [`Input`](super::input::Input).
#[slot]
pub struct InputSuffix {
    #[prop(default = true)]
    pub if_: bool,
    pub children: Children,
}