euv-ui 0.9.1

Reusable UI component library for the euv framework, providing buttons, cards, modals, inputs, and more.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::*;

/// Props for the `header` component.
///
/// Defines the strongly-typed interface for a standard header
/// with an emoji icon, title, and subtitle.
#[derive(Clone, Data, Debug, Default, New)]
pub struct EuvHeaderProps {
    /// The emoji icon displayed alongside the title.
    #[get(type(copy))]
    pub icon: &'static str,
    /// The page title text displayed in the heading.
    #[get(type(copy))]
    pub title: &'static str,
    /// The page subtitle / description text.
    #[get(type(copy))]
    pub subtitle: &'static str,
}