Neutral
Primary
Secondary
Success
Warning
Danger
The Status component displays a visual status indicator with customizable colors, sizes, and shapes.
// Import componentimport { Status } from '@fintech-sandpit/ui/react';// Import styles (optional)import '@fintech-sandpit/ui/style/components/status.css';
return ( <Status colorScheme="success" size="md" variant="circle" > Online </Status>);<script setup lang="ts">// Import componentimport { Status } from '@fintech-sandpit/ui/vue';// Import styles (optional)import '@fintech-sandpit/ui/style/components/status.css';</script>
<template> <Status color-scheme="success" size="md" variant="circle" > Online </Status></template>| Name | Type | Default | Description |
|---|---|---|---|
colorScheme | ColorScheme | neutral | Color scheme for the status |
size | Size | md | Size of the status indicator |
variant | StatusVariant | circle | Shape of the status indicator |
| Name | Type | Default | Description |
|---|---|---|---|
color-scheme | ColorScheme | neutral | Color scheme for the status |
size | Size | md | Size of the status indicator |
variant | StatusVariant | circle | Shape of the status indicator |
type ColorScheme = 'neutral' | 'primary' | 'secondary' | 'success' | 'warning' | 'danger'type Size = 'xs' | 'sm' | 'md' | 'lg' | 'xl'type StatusVariant = 'circle' | 'square' | 'triangle'