euv-ui 0.8.25

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
use crate::*;

/// Props for the `euv_logo` component.
///
/// Defines the strongly-typed interface for a branded logo button
/// that renders the "E" letter with a gradient background.
#[derive(Clone, CustomDebug, Data, Default, New)]
pub struct EuvLogoProps {
    /// The display variant controlling size and positioning.
    #[get(type(copy))]
    pub variant: LogoButtonVariant,
    /// Optional click event handler.
    #[debug(skip)]
    pub on_click: Option<Rc<dyn Fn(Event)>>,
}