Status

Examples

Showcase

Dark Modern
import {ReactNode} from "react"
import {Status} from "@qui/react-vscode"
export default function StatusShowcase(): ReactNode {
return (
<div className="flex justify-center gap-4">
<Status variant="info" />
<Status variant="warning" />
<Status variant="error" />
</div>
)
}

API

ButtonProps

Name & DescriptionOption(s)Default
The component used for the root node. It can be a React component or element.
| ElementType
| ComponentType
'div'
Size of the status component
number
16
The status's primary message.
| 'info'
| 'warning'
| 'error'
'info
Type
| ElementType
| ComponentType
Default
'div'
Description
The component used for the root node. It can be a React component or element.
Type
number
Default
16
Description
Size of the status component
Type
| 'info'
| 'warning'
| 'error'
Default
'info
Description
The status's primary message.