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
|`type`| The resource type that determines the badge variant, icon, and label. |`"agent"`, `"benchmark"`, `"benchmark-result"`, `"binary"`, `"certificate"`, `"code"`, `"compute"`, `"config"`, `"credential"`, `"database"`, `"dataset"`, `"document"`, `"guardrail"`, `"media"`, `"model"`, `"prompt"`, `"reasoning"`, `"skill"`, `"system-prompt"`, `"token"`, `"tool"`, `"unknown"`|| ✅ |
172
+
|`display`| Controls what elements are displayed: icon, text, or both. |`"both"`, `"text-only"`, `"icon-only"`|`"both"`| ❌ |
173
+
|`children`| Custom content to display in place of the default type label. |`ReactNode`|| ❌ |
174
+
|`closeable`| When true, displays a close button on the badge. |`boolean`|`false`| ❌ |
175
+
|`handleClosable`| Callback called when the close button is clicked. Provide this whenever `closeable` is true, otherwise the button is a no-op.|`() => void`|| ❌ |
176
+
|`closeLabel`| Accessible label (`aria-label`) for the close button. |`string`|`"Remove"`| ❌ |
0 commit comments