Badge
Badge component is a small visual element used to highlight or indicate specific information within a user interface.
Usage
Basic
The badge offers three appearance options: Primary (default), Standard, and Text.
5
15
25
Primary badge
Primary badges are attention-grabbing, featuring a filled appearance.
They're designed for essential actions at the core of your application.
35
45
Standard badge
Standard badges offer a moderate level of emphasis, suitable for important actions that aren't central to the application.
They serve as a middle ground between Text badges and the more prominent Primary Badges, providing flexibility in emphasis.
55
65
Text badge
Text badges are best suited for understated actions, serving as a less prominent choice in various interface elements.
75
85
Overlap
The badge distance from its base content can be changed using the Overlap parameter.
7
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.
50+
Customization
Here are some examples of customizing the badge content.
Text
Hidden
You can easily hide the badge.
Position
You can customize the badge position to enhance the user experience.
99+
TopRight
Color
Offering a range of specialized color variants, providing visual cues for specific actions or states within your application.
Info
99+
99+
99+
Success
99+
99+
99+
Warning
99+
99+
99+
SevereWarning
99+
99+
99+
Error
99+
99+
99+
Size
Varying sizes for badges tailored to meet diverse design needs, ensuring flexibility and visual hierarchy within your interface.
Primary
99+
99+
99+
Standard
99+
99+
99+
Text
99+
99+
99+
Style & Class
Empower customization by overriding default styles and classes, allowing tailored design modifications to suit specific UI requirements.
Component's Style & Class:
99+
Item 1
Item 2
Item 3
99+Styles & Classes:
99+
99+
Events
Managing clicking on the badge event (OnClick).
0
Implementation
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 |
---|---|---|---|
BitAppearance enum
Name |
Value |
Description |
---|---|---|
BitColor enum
Name |
Value |
Description |
---|---|---|
BitBadgeSize enum
Name |
Value |
Description |
---|---|---|
BitBadgePosition enum
Name |
Value |
Description |
---|---|---|
BitVisibility enum
Name |
Value |
Description |
---|---|---|
BitDir enum
Name |
Value |
Description |
---|---|---|