You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: site/src/content/docs/components/badge.mdx
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,17 @@
1
1
---
2
2
title: Badges
3
-
description: Documentation and examples for badges, our small count and labeling component.
3
+
description: Small components for indicating status and counts, or labelling items.
4
4
toc: true
5
5
css_layer: components
6
6
---
7
7
8
8
import { getData } from'@libs/data'
9
9
10
-
## Example
10
+
## Examples
11
11
12
-
Badges scale to match the size of the immediate parent element by using relative font sizing and `em` units. Badges come in three variants: solid (default), subtle, and outline.
12
+
Badges are tiny, static display components used for adding context to other elements. They can be used as part of navigation, buttons, and more to provide a counter or label. Badges scale to match the size of the immediate parent element by using relative font sizing and `em` units.
13
+
14
+
Badges come in three variants: solid (default), subtle, and outline.
0 commit comments