Skip to main content

Interface: BadgeProps

Defined in: components/Badge/Badge.tsx:45

Props for the Badge component.

Extends

  • Omit<React.HTMLAttributes<HTMLSpanElement>, "style" | "className">

Properties

children?

optional children?: ReactNode

Defined in: components/Badge/Badge.tsx:58

The chip label.

Overrides

Omit.children


evaluation?

optional evaluation?: "primary" | "muted"

Defined in: components/Badge/Badge.tsx:56

Presentational emphasis. muted is the resting descriptive chip — a filled surface that recedes into the page. primary promotes it to the page's own surface with a hairline edge, for a chip that must read as an object rather than as an annotation.

Default

'muted'