euv_ui/component/space/view/struct.rs
1use super::*;
2
3/// Props for the `euv_space` component.
4///
5/// Defines the strongly-typed interface for the layout gap primitive.
6#[derive(Clone, CustomDebug, Default)]
7pub struct EuvSpaceProps {
8 /// The spacing step taken from the design token scale.
9 pub size: EuvSpaceSize,
10 /// Whether the gap is applied vertically (`margin-top`) instead of
11 /// horizontally (`margin-left`).
12 pub vertical: Signal<bool>,
13}