Paramount
Edit page
IntroductionCustomizationLayout
Components
AlertAvatarBadgeUsagePropsOverridesBoxButtonCheckboxCollapsibleContainerCounterDialogDividerDrawerFormFieldHeadingIconLabelListItemListPickerModalNativePickerParagraphPickerPopoverProgressBarRatingRow and ColumnSliderSwitchTextTextInputToastVisibleWheelPicker
ContributingReadme

Badge

Display to indicate status or feat of service

Usage

Colors

neutral
blue
red
orange
yellow
green
teal
purple

Solid colors

neutral
blue
red
orange
yellow
green
teal
purple

Sizes

small
medium
large

Shapes

square
rounded
pill
circle

Props

overrides
Partial<{ root: overridewithstyle<badgebaseprops, rootprops, styleprop<viewstyle>>; title: overridewithstyle<badgebaseprops, titleprops, style<textprops, textstyle>>; }> | undefined
title
Optionalstring
color
"neutral" | "blue" | "red" | "orange" | "yellow" | "green" | "teal" | "purple" | undefined
"neutral"
size
Number | "small" | "medium" | "large" | undefined
"medium"
shape
"circle" | "pill" | "rounded" | "roundedbottom" | "roundedleft" | "roundedright" | "roundedtop" | "square" | undefined
"rounded"
isSolid
Boolean | undefined
false
testID
String | undefined

Overrides

export interface BadgeOverrides {
Root: RootProps;
Title: TitleProps;
}