MiHCM
primitives/@mihcm/ui·v0.21.0·stable

Tag

Label chip with optional remove action. Like Badge but interactive — can be removed.

Props

The full prop API for Tag. Same surface in web and React Native — bundlers pick the right variant via the react-native export condition.

PropTypeDefaultDescriptionSince
variant'default' | 'primary' | 'accent' | 'destructive' | 'success' | 'warning''default'Color variant.0.5.0
size'sm' | 'md' | 'lg''md'Size scale.0.5.0
onRemove() => voidWhen provided, renders a remove (x) button.0.5.0
removablebooleanfalseConvenience alias — renders the remove button.0.5.0
classNamestringAdditional Tailwind classes.0.5.0

Import

import { Tag } from '@mihcm/ui/Tag';