SymbolBadge
API reference and demos for SymbolBadge.
Import
Section titled “Import”import { SymbolBadge } from "@flanksource/clicky-ui/data";The props table documents the component-specific surface. Standard DOM attributes inherited from React, such as className, event handlers, and accessibility attributes, may also be accepted when the component’s prop type extends a native element.
| Prop | Type | Default | Description |
|---|---|---|---|
color |
string |
indigo |
Named palette hue or CSS color, including CSS custom properties. |
icon |
StaticIconComponent |
— | Imported icon component placed before the symbol. |
iconClassName |
string |
— | Additional glyph classes, including adjustments for fixed-color SVGs. |
language |
string |
— | — |
style |
enum |
badge |
Filled badge, colored outline, or an unframed inline symbol. |