A service or workflow status with context.
Everything is running smoothly.
import { StatusCard } from '@vrum/ui';
import { StatusCardTitle, StatusCardIndicator, StatusCardDescription, StatusCardTimestamp } from '@vrum/ui';
<StatusCard
variant={"default"}
>
<StatusCardTitle>Workspace services</StatusCardTitle><StatusCardIndicator status="operational" /><StatusCardDescription>Everything is running smoothly.</StatusCardDescription><StatusCardTimestamp>Updated a few moments ago</StatusCardTimestamp>
</StatusCard>Copy code| Prop | Type | Default | Description |
|---|---|---|---|
variant | "default" | "compact" | "minimal" | "default" | Visual appearance within the Vrum design system. |
tonal | string | "neutral" | tonal configuration. |
defaultChecked | boolean | none | default checked configuration. |
defaultValue | string | number | readonly string[] | none | Initial value for an uncontrolled component. |
autoFocus | boolean | none | auto focus configuration. |
className | string | none | Additional CSS classes. |
id | string | none | id configuration. |
style | CSSProperties | none | Inline style overrides. |
aria-invalid | boolean | "false" | "true" | "grammar" | "spelling" | none | Indicates the entered value does not conform to the format expected by the application. |
aria-label | string | none | Defines a string value that labels the current element. |
children | ReactNode | none | Content rendered inside the component. |
onFocus | FocusEventHandler<HTMLElement> | none | on focus configuration. |
onBlur | FocusEventHandler<HTMLElement> | none | on blur configuration. |
onChange | ChangeEventHandler<HTMLElement, Element> | none | Called when the input value changes. |
onSubmit | SubmitEventHandler<HTMLElement> | none | Called when the form is submitted. |
onKeyDown | KeyboardEventHandler<HTMLElement> | none | on key down configuration. |
onClick | MouseEventHandler<HTMLElement> | none | Called when the control is activated. |
onSelect | ReactEventHandler<HTMLElement> | none | on select configuration. |
| Prop | Type | Default | Description |
|---|---|---|---|
defaultChecked | boolean | none | default checked configuration. |
defaultValue | string | number | readonly string[] | none | Initial value for an uncontrolled component. |
autoFocus | boolean | none | auto focus configuration. |
className | string | none | Additional CSS classes. |
id | string | none | id configuration. |
style | CSSProperties | none | Inline style overrides. |
aria-invalid | boolean | "false" | "true" | "grammar" | "spelling" | none | Indicates the entered value does not conform to the format expected by the application. |
aria-label | string | none | Defines a string value that labels the current element. |
children | ReactNode | none | Content rendered inside the component. |
onFocus | FocusEventHandler<HTMLElement> | none | on focus configuration. |
onBlur | FocusEventHandler<HTMLElement> | none | on blur configuration. |
onChange | ChangeEventHandler<HTMLElement, Element> | none | Called when the input value changes. |
onSubmit | SubmitEventHandler<HTMLElement> | none | Called when the form is submitted. |
onKeyDown | KeyboardEventHandler<HTMLElement> | none | on key down configuration. |
onClick | MouseEventHandler<HTMLElement> | none | Called when the control is activated. |
onSelect | ReactEventHandler<HTMLElement> | none | on select configuration. |
| Prop | Type | Default | Description |
|---|---|---|---|
status | "operational" | "degraded" | "partial-outage" | "major-outage" | "maintenance" | "unknown" | "unknown" | status configuration. |
label | string | none | Visible or accessible label. |
dotOnly | boolean | false | dot only configuration. |
| Prop | Type | Default | Description |
|---|---|---|---|
defaultChecked | boolean | none | default checked configuration. |
defaultValue | string | number | readonly string[] | none | Initial value for an uncontrolled component. |
autoFocus | boolean | none | auto focus configuration. |
className | string | none | Additional CSS classes. |
id | string | none | id configuration. |
style | CSSProperties | none | Inline style overrides. |
aria-invalid | boolean | "false" | "true" | "grammar" | "spelling" | none | Indicates the entered value does not conform to the format expected by the application. |
aria-label | string | none | Defines a string value that labels the current element. |
children | ReactNode | none | Content rendered inside the component. |
onFocus | FocusEventHandler<HTMLElement> | none | on focus configuration. |
onBlur | FocusEventHandler<HTMLElement> | none | on blur configuration. |
onChange | ChangeEventHandler<HTMLElement, Element> | none | Called when the input value changes. |
onSubmit | SubmitEventHandler<HTMLElement> | none | Called when the form is submitted. |
onKeyDown | KeyboardEventHandler<HTMLElement> | none | on key down configuration. |
onClick | MouseEventHandler<HTMLElement> | none | Called when the control is activated. |
onSelect | ReactEventHandler<HTMLElement> | none | on select configuration. |
| Prop | Type | Default | Description |
|---|---|---|---|
defaultChecked | boolean | none | default checked configuration. |
defaultValue | string | number | readonly string[] | none | Initial value for an uncontrolled component. |
autoFocus | boolean | none | auto focus configuration. |
className | string | none | Additional CSS classes. |
id | string | none | id configuration. |
style | CSSProperties | none | Inline style overrides. |
aria-invalid | boolean | "false" | "true" | "grammar" | "spelling" | none | Indicates the entered value does not conform to the format expected by the application. |
aria-label | string | none | Defines a string value that labels the current element. |
children | ReactNode | none | Content rendered inside the component. |
onFocus | FocusEventHandler<HTMLElement> | none | on focus configuration. |
onBlur | FocusEventHandler<HTMLElement> | none | on blur configuration. |
onChange | ChangeEventHandler<HTMLElement, Element> | none | Called when the input value changes. |
onSubmit | SubmitEventHandler<HTMLElement> | none | Called when the form is submitted. |
onKeyDown | KeyboardEventHandler<HTMLElement> | none | on key down configuration. |
onClick | MouseEventHandler<HTMLElement> | none | Called when the control is activated. |
onSelect | ReactEventHandler<HTMLElement> | none | on select configuration. |