Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion components/badge.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import IconsOptional from "/snippets/icons-optional.mdx";

Use badges to display status indicators, labels, or metadata. Badges can be used inline within text or as standalone elements.

Check warning on line 9 in components/badge.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

components/badge.mdx#L9

In general, use active voice instead of passive voice ('be used').

## Basic badge

Expand All @@ -23,6 +23,7 @@
<Badge color="gray">Badge</Badge>
<Badge color="blue">Badge</Badge>
<Badge color="green">Badge</Badge>
<Badge color="yellow">Badge</Badge>
<Badge color="orange">Badge</Badge>
<Badge color="red">Badge</Badge>
<Badge color="purple">Badge</Badge>
Expand All @@ -35,6 +36,7 @@
<Badge color="gray">Badge</Badge>
<Badge color="blue">Badge</Badge>
<Badge color="green">Badge</Badge>
<Badge color="yellow">Badge</Badge>
<Badge color="orange">Badge</Badge>
<Badge color="red">Badge</Badge>
<Badge color="purple">Badge</Badge>
Expand Down Expand Up @@ -141,7 +143,7 @@
<ResponseField name="color" type="string" default="gray">
Badge color variant.

Options: `gray`, `blue`, `green`, `orange`, `red`,
Options: `gray`, `blue`, `green`, `yellow`, `orange`, `red`,
`purple`, `white`, `surface`, `white-destructive`, `surface-destructive`.
</ResponseField>

Expand All @@ -164,7 +166,7 @@
</ResponseField>

<ResponseField name="disabled" type="boolean" default="false">
Display badge in a disabled state with reduced opacity.

Check warning on line 169 in components/badge.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

components/badge.mdx#L169

Use 'turn off' or 'off' instead of 'disabled'.
</ResponseField>

<ResponseField name="className" type="string">
Expand Down