euv-ui 0.32.2

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

/// Props for the [`euv_affix`] component.
///
/// Defines the strongly-typed interface for a sticky block: how far from the
/// top of its scroll container the block sticks.
#[derive(Clone, CustomDebug, Default)]
pub struct EuvAffixProps {
    /// How far from the top of the scroll container the block sticks, in pixels.
    pub offset: u32,
}