Badge
fun Badge(text: String, modifier: Modifier = Modifier, badgeType: ClerkBadgeType = ClerkBadgeType.Primary, clerkTheme: ClerkTheme? = null)
A badge component that displays text with various styling options.
The badge supports different visual styles through ClerkBadgeType, including primary, secondary, positive, negative, and warning variants. Each type has its own color scheme and border styling.
Parameters
text
The text content to display inside the badge
modifier
Optional Modifier to be applied to the badge
badgeType
The visual style of the badge, defaults to ClerkBadgeType.Primary