Badge
A badge used for displaying attributes or small information snippets.
Importing
1
import { Badge } from '@infinityfx/fluid';Usage
API reference
Badge Props
round?
boolean
false
variant?
'default' | 'inverted' | 'neutral'
'default'
size?
'xsm' | 'sml' | 'med' | 'lrg'
'sml'
color?
string
Custom background or text color override.
onClose?
() => void
If provided, renders a close/remove button on the badge and calls this handler when clicked.