Docyrus

StatusChip

A reusable tone-based chip for status, priority, and other compact enum labels.

iOSAndroid
Preview StatusChip on your device

Scan with Expo Go

Download Expo Go, then scan the QR code to preview native components.

Installation

pnpm dlx @docyrus/cli add @docyrus/rn-status-chip

Usage

import { StatusChip } from '@/components/docyrus-native/status-chip';

<StatusChip
  label={t('task.priority-high', 'High')}
  tone="danger"
  emphasis="soft"
/>

API Reference

StatusChipProps

PropTypeDefaultDescription
labelstring—Text rendered inside the chip
tone'neutral' | 'info' | 'success' | 'warning' | 'danger' | 'accent' | 'purple''neutral'Semantic color tone
size'sm' | 'md' | 'lg''md'Chip density
emphasis'soft' | 'solid''soft'Filled vs tinted presentation
classNamestring—Additional wrapper classes
labelClassNamestring—Additional label classes

On this page