Status

A visual indicator that displays the current status of an item or process.

Anatomy

<script>
  import { Status } from "@saas-ui/svelte/components/status";
</script>

<Status value="success">Active</Status>

Examples

Basic Accessibility

Basic status indicator with default styling.

Colours Accessibility

Use the colour prop to customize the indicator colour.

Label Accessibility

Add text labels to status indicators.

Sizes Accessibility

Use the size prop to change the size of the status indicator.

Values Accessibility

Use the value prop to set different status types.

Props

Prop Type Default Description
value error | info | warning | success info The status value determining the indicator colour.
size sm | md | lg md The size of the status indicator.
colour gray | red | orange | yellow | green | teal | blue | cyan | purple | pink | rose - The colour palette to use for the indicator.
class text - CSS class to apply to the component.