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
{{ message }}
Repository navigation
Commit 6b0e1b5
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: frontend/purestack.studio/components/actions/badge/badge.mdx
+18-3Lines changed: 18 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: Badge
3
-
description: Compact status and metadata with semantic tones, thirteen visual treatments, inline composition, and reactive release status examples.
3
+
description: Compact status and metadata with semantic tones, several visual treatments, inline composition, and reactive release status examples.
4
4
template: doc
5
5
layout:
6
6
showNav: true
@@ -92,6 +92,11 @@ function createBadgePlayground(): BadgePlayground {
92
92
'solid',
93
93
'surface',
94
94
'surfaceAlt',
95
+
'spotlight',
96
+
'glass',
97
+
'flat',
98
+
'flatAlt',
99
+
'flatSolid',
95
100
'outlineFill',
96
101
'outline',
97
102
'subtle',
@@ -185,7 +190,7 @@ Use tone to reinforce the meaning already expressed by the label. “Passing”,
185
190
186
191
## Variants
187
192
188
-
Badge accepts all thirteen shared variants and defaults to `surface`. Its variants use stateless styling: they do not add the hover and active behavior used by buttons. Interaction-oriented treatments may therefore look similar on a badge.
193
+
Badge accepts every shared variant and defaults to `surface`. Its variants use stateless styling: they do not add the hover and active behavior used by buttons. Interaction-oriented treatments may therefore look similar on a badge.
189
194
190
195
<Tabs
191
196
group="badge-variants-example"
@@ -200,6 +205,11 @@ Badge accepts all thirteen shared variants and defaults to `surface`. Its varian
<p>Sets the visual treatment using the stateless form of the shared variants. A variant changes appearance; it never turns the badge into a link or a button.</p>
<p>The menu's fill, border, and text treatment. Accepts the same thirteen variants as the trigger. Surface variants give popup content a distinct background.</p>
707
+
<p>The menu's fill, border, and text treatment. Accepts the same variants as the trigger. Surface variants give popup content a distinct background.</p>
@@ -21,7 +21,7 @@ A clear next step. Theme-aware actions with native button semantics, expressive
21
21
22
22
## Playground
23
23
24
-
Explore all thirteen variants and ten semantic tones. Change the size, move the icon, or try the disabled state. The source tabs contain the complete playground: controls, reactive state, icon registration, and application mount.
24
+
Explore every variant and all ten semantic tones. Change the size, move the icon, or try the disabled state. The source tabs contain the complete playground: controls, reactive state, icon registration, and application mount.
0 commit comments