Status indicator is a component that shows the status of a given entity. It can be used to show the status of a services, shipment, a user, etc.
<script lang="ts" setup>
import { StatusIndicator } from '@returnless/focus-ui';
</script>
<template>
<StatusIndicator>In Transit</StatusIndicator>
<StatusIndicator color="red">Request rejected</StatusIndicator>
<StatusIndicator color="blue">Announced</StatusIndicator>
<StatusIndicator color="green">Return approved</StatusIndicator>
</template>Status indicators benefit users by:
Status indicator labels should: