Icon Circle

Similar to Icon, Icon Circle is a graphical symbol within a circle used to visually indicate an object or function.

Summary
Default

icon-circle-default


PBIconCircle(FontAwesome.rocket)

Size

circle-icon-sizes


VStack(alignment: .leading, spacing: Spacing.small) {
  PBIconCircle(FontAwesome.rocket, size: .small)
  PBIconCircle(FontAwesome.rocket, size: .x1)
  PBIconCircle(FontAwesome.rocket, size: .large)
}

Color

icon-circle-colors


VStack(spacing: Spacing.small) {
  PBIconCircle(FontAwesome.rocket, size: .small, color: Color.data(.data1))
  PBIconCircle(FontAwesome.rocket, size: .small, color: Color.data(.data2))
  PBIconCircle(FontAwesome.rocket, size: .small, color: Color.data(.data3))
  PBIconCircle(FontAwesome.rocket, size: .small, color: Color.data(.data4))
  PBIconCircle(FontAwesome.rocket, size: .small, color: Color.data(.data5))
  PBIconCircle(FontAwesome.rocket, size: .small, color: Color.data(.data6))
  PBIconCircle(FontAwesome.rocket, size: .small, color: Color.data(.data7))
  PBIconCircle(FontAwesome.rocket, size: .small, color: Color.data(.data8))
}

Props

Name Type Description Default Values
Icon PlaybookGenericIcon Sets the kit's Icon
Size PBIcon.IconSize Changes the size of the Circle Icon .x1 xSmall small large x1 x2 x3 x4 x5 x6 x7 x8 x9 x10
Color Color Changes color of the Icon and background .status(.neutral) Color

UI Samples using Icon Circle Kit

Get the full picture. See how this kit is used in our samples.