Badge

A compact status or count marker with bounded character presentation.

A compact status or count marker with bounded character presentation.

Public API

  • FBadge
  • FBadgeStyle
  • FBadgeCharacterCount
  • FBadgePresentation

Example

FBadge(
    .int(8),
    presentation: .circle(characters: .two),
    style: .solid
)

Source

This reference follows Sources/FreakUI/Components/Content/FBadge.swift. Component-specific configuration is documented under the public initializer, modifier, and supporting types in that source file.