Skip to main content

StackGap

Type Alias StackGap 

Source
pub type StackGap = GridGap;
Expand description

Gap between Stack children.

Aliased Type§

pub enum StackGap {
    None,
    Xs,
    Sm,
    Md,
    Lg,
    Xl,
    Xl2,
    Xl3,
    Related,
    Group,
    Section,
}

Variants§

§

None

No gap.

§

Xs

Extra small.

§

Sm

Small.

§

Md

Medium.

§

Lg

Large.

§

Xl

Extra large.

§

Xl2

Two times extra large.

§

Xl3

Three times extra large.

§

Related

Space between closely related items.

§

Group

Space between groups. The default.

§

Section

Space between sections.