reach/ui/library

Types

pub type Align {
  AlignStart
  AlignCenter
}

Constructors

  • AlignStart
  • AlignCenter
pub type Direction {
  Column
  ReversedRow
  Row
}

Constructors

  • Column
  • ReversedRow
  • Row
pub type Justify {
  JustifyEnd
  JustifySpaceBetween
  JustifyStart
}

Constructors

  • JustifyEnd
  • JustifySpaceBetween
  • JustifyStart
pub type Spacing {
  ExtraSmallSpacing
  SmallSpacing
  DefaultSpacing
  LargeSpacing
  ExtraLargeSpacing
}

Constructors

  • ExtraSmallSpacing
  • SmallSpacing
  • DefaultSpacing
  • LargeSpacing
  • ExtraLargeSpacing

Values

pub fn box(
  direction: Direction,
  align: Align,
  justify: Justify,
  gap: Spacing,
  children: List(@internal Element(msg)),
) -> @internal Element(msg)
Search Document