diff --git a/apps/www/src/content/docs/components/chip/demo.ts b/apps/www/src/content/docs/components/chip/demo.ts index 528174370..b6303e8d5 100644 --- a/apps/www/src/content/docs/components/chip/demo.ts +++ b/apps/www/src/content/docs/components/chip/demo.ts @@ -24,7 +24,7 @@ export const playground = { }, color: { type: 'select', - options: ['neutral', 'accent'], + options: ['neutral', 'accent', 'danger', 'success', 'warning'], defaultValue: 'neutral' }, isDismissible: { @@ -62,11 +62,21 @@ export const sizesDemo = { export const colorDemo = { type: 'code', code: ` - - Outline - Filled - Outline - Filled + + + Neutral + Accent + Danger + Success + Warning + + + Neutral + Accent + Danger + Success + Warning + ` }; diff --git a/apps/www/src/content/docs/components/chip/index.mdx b/apps/www/src/content/docs/components/chip/index.mdx index 8de8908cf..8a182ff74 100644 --- a/apps/www/src/content/docs/components/chip/index.mdx +++ b/apps/www/src/content/docs/components/chip/index.mdx @@ -46,7 +46,7 @@ Two sizes. `large` is the default; `small` fits inside inputs and table cells. ### Color -Choose between neutral and accent styles to control the visual emphasis. +Five colors. `neutral` and `accent` set emphasis. `danger`, `success` and `warning` show status. @@ -68,6 +68,8 @@ Renders a compact element for tags, labels, or attributes. +The chip renders a ` ) : trailingIcon ? (