Interface: BadgeProps
@arolariu/components / BadgeProps
Interface: BadgeProps
Defined in: components/ui/badge.tsx:49
Represents the configurable props for the Badge component.
Remarks
Extends standard <div> attributes so badges can expose data attributes, ARIA
state, and event handlers while preserving the library's visual variants.
Default
variant "default"
Extends
HTMLAttributes<HTMLDivElement>
Properties
className?
optionalclassName?:string
Defined in: components/ui/badge.tsx:53
Additional CSS classes merged with the computed badge classes.
Overrides
React.HTMLAttributes.className
variant?
optionalvariant?:BadgeVariant
Defined in: components/ui/badge.tsx:59
The visual variant used to communicate importance or status.
Default
"default"
// was this page useful?