@gitlab/ui
Version:
GitLab UI Components
9 lines (6 loc) • 375 B
Markdown
The single stat component is used to show a single value. The color of the meta icon / badge is
determined by the **variant** prop, which can be one of "success", "warning", "danger", "info",
"neutral" or "muted" (default).
You can make the component focusable by adding a `tabindex=0` attribute to it. This will also apply
a hover state to the component.