VerticalPosition

public enum VerticalPosition : CaseIterable

Represents vertical alignment or placement direction.

Useful for positioning content relative to other components, such as placing a message above or below a form field.

  • Example: swift Tooltip(position: .top)
  • top

    Top edge — places the content above the reference view.

    Declaration

    Swift

    case top
  • Bottom edge — places the content below the reference view.

    Declaration

    Swift

    case bottom