- The <go-badge>
- component should be used for times when we want to show a short notification
- to a user over an icon for more information. A good example of this would be
- the number of notifications a user has over an icon that goes to their
- notifications.
-
- - This is the text or data that we want to show up inside of the badge -
-
- The color can be one of three things neutral
,
- positive
or negative
.
- These will denote what type of badge it is whether it's a good thing, bad thing or just information. The badgeColor
- defaults to `neutral`
-
- This can be used to override whether the information inside of the badge shows up or not. - Setting this to false will cause the badge to just be an empty circle without displaying - the `badgeData`. -
-
- The badge uses content projection to apply itself to an inline element inside of it. You
- can apply it to any element by wrapping the element in the go-badge
-
-
-
-
-
+ The <go-pill-badge>
are
+ used to display short details or numbers.
+
+ + This is the text or data that we want to show up inside of the badge +
+
+ The type can be one of three things
+ info
,
+ success
or
+ error
. These will denote what
+ type of badge it is whether it's a success, error or just information.
+ The type defaults to `info`
+
+
+
+
+ The <go-badge>
+ component should be used for times when we want to show a short
+ notification to a user over an icon for more information. A good
+ example of this would be the number of notifications a user has over
+ an icon that goes to their notifications.
+
+ + This is the text or data that we want to show up inside of the badge +
+
+ The color can be one of three things
+ neutral
,
+ positive
or
+ negative
. These will denote
+ what type of badge it is whether it's a good thing, bad thing or just
+ information. The badgeColor defaults to `neutral`
+
+ This can be used to override whether the information inside of the + badge shows up or not. Setting this to false will cause the badge to + just be an empty circle without displaying the `badgeData`. +
+
+ The badge uses content projection to apply itself to an inline element
+ inside of it. You can apply it to any element by wrapping the element in
+ the go-badge
+
+
+
+
+