UI LibraryUI Library
Guide
Components
Styling
Repo
Guide
Components
Styling
Repo
  • Guide

    • Introduction
    • Getting Started
  • Components

    • CataUiAccordion
    • CataUiAccordionItem
    • CataUiAlert
    • CataUiAnchorMenu
    • CataUiBadge
    • CataUiButton
    • CataUiCollapse
    • CataUiDraggable
    • CataUiDropdown
    • CataUiDropover
    • CataUiFileTree
    • CataUiIcon
    • CataUiIconSwitch
    • CataUiInput
    • CataUiInputCheckbox
    • CataUiInputColor
    • CataUiInputDate
    • CataUiInputGroup
    • CataUiInputRadio
    • CataUiInputSearch
    • CataUiInputSelect
    • CataUiMasonry
    • CataUiMasonryTile
    • CataUiLogo
    • CataUiModal
    • CataUiPaginate
    • CataUiProgress
    • CataUiSpinner
    • CataUiStatusLabel
    • CataUiSwitch
    • CataUiTable
    • CataUiTableAG
    • CataUiTableFooter
    • CataUiTabs
    • CataUiTabSwitch
    • CataUiTooltip
  • Styling

    • Colors
    • Icons
    • Typography
    • Utils

CataUiStatusLabel

A status label component that displays a colored label with customizable appearance.

Sizes & Types

small
small
small
medium
medium
medium
large
large
large

UI Library Status Colors

Info
Warning
Error
Success

Examples

Basic Usage

<!-- Different types -->
<CataUiStatusLabel label="Default" />
<CataUiStatusLabel label="Dark" type="dark" />
<CataUiStatusLabel label="Solid" type="solid" />

Different Sizes

<CataUiStatusLabel label="Small" size="small" />
<CataUiStatusLabel label="Medium" size="medium" />
<CataUiStatusLabel label="Large" size="large" />

UI Library Status Colors

<!-- Using UI Library status colors -->
<CataUiStatusLabel label="Info" color="#85A3FF" />
<CataUiStatusLabel label="Warning" color="#F15619" />
<CataUiStatusLabel label="Error" color="#EA2A4A" />
<CataUiStatusLabel label="Success" color="#15803D" />

Props

PropDescriptionTypeDefaultRequiredOptions
colorSets the status label color (supports hex color codes only)String'#008CAB'falseAny valid hex color code
labelThe text displayed within the status labelStringtrue
sizeDetermines the font size of the status labelString'small'false'small', 'medium', 'large'
typeDefines the visual style of the status labelString'light'false'light', 'dark', 'solid'

Warning

Important notes about the color prop:

  • Only accepts hex color codes (e.g., '#FF5733')
  • CSS variables (e.g., 'var(--color-primary)') are NOT supported
  • If providing a hex code without '#', it will be automatically prefixed (e.g., 'FF5733' becomes '#FF5733')
  • Recommended UI Library colors: '#85A3FF' (info), '#F15619' (warning), '#EA2A4A' (error), '#15803D' (success)
Prev
CataUiSpinner
Next
CataUiSwitch