Badge
Badge component is a small visual element used to highlight or indicate specific information within a user interface.
Usage
Basic
63
Variant
The badge offers three variants: Fill (default), Outline, and Text.
84
84
84
84
84
84
Overlap
The badge distance from its base content can be changed using the Overlap parameter.
63
Dot
Badge size can be reduced and hide any of its content.
Max
When content is integer type, you can define a max value to display.
63+
Customization
Here are some examples of customizing the badge content.
String content
Text
Icon
Hidden
You can easily hide the badge using its Hidden parameter.
63
Position
You can customize the badge position to enhance the user experience.
63
TopLeft
Color
Offering a range of specialized color variants, providing visual cues for specific actions or states within your application.
Primary
84
84
84
Secondary
84
84
84
Tertiary
84
84
84
Info
84
84
84
Success
84
84
84
Warning
84
84
84
SevereWarning
84
84
84
Error
84
84
84
Size
Varying sizes for badges tailored to meet diverse design needs, ensuring flexibility and visual hierarchy within your interface.
Small
84
84
84
Medium
84
84
84
Large
84
84
84
Style & Class
Empower customization by overriding default styles and classes, allowing tailored design modifications to suit specific UI requirements.
Component's Style & Class:
84
Anchor
84Styles & Classes:
84
84
Events
Managing clicking on the badge event (OnClick).
0
API
BitBadge parameters
Name |
Type |
Default value |
Description |
---|---|---|---|
BitComponentBase parameters
Name |
Type |
Default value |
Description |
---|---|---|---|
BitComponentBase public members
Name |
Type |
Default value |
Description |
---|---|---|---|
BitBadgeClassStyles properties
Name |
Type |
Default value |
Description |
---|---|---|---|
BitColor enum
Name |
Value |
Description |
---|---|---|
BitSize enum
Name |
Value |
Description |
---|---|---|
BitPosition enum
Name |
Value |
Description |
---|---|---|
BitVariant enum
Name |
Value |
Description |
---|---|---|
BitVisibility enum
Name |
Value |
Description |
---|---|---|
BitDir enum
Name |
Value |
Description |
---|---|---|
- On this page