Divider

A component that displays a separating line.

Preview

Button Preview

Code Example

let model = DividerVM {
  $0.size = .small
  $0.color = .accent
  $0.orientation = .vertical
}

API

DividerVM Props

A model that defines the appearance properties for a divider component.

NameTypeDefaultDescription
colorComponentColor?nilThe color of the divider.
orientationOrientationhorizontalThe orientation of the divider (horizontal or vertical).
sizeComponentSizemediumThe predefined size of the divider, which affects its thickness.

SUDivider

public init(model: DividerVM = .init())

UKDivider

Initializers

public init(model: DividerVM = .init())

Public Properties

NameTypeDescription
modelDividerVMA model that defines the appearance properties.