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

Tag

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

Live preview

Adjust the controls on the right; the preview and code update in real time.

React
example.tsxtsx
import { Tag } from '@mihcm/ui/Tag';

export function Example() {
  return (
    <Tag
  variant="default"
  size="md"
    >
      React
    </Tag>
  );
}

Install

Both paths are valid. CLI ships the source into your repo (you own it). Install pins via npm.

npx @mihcm/cli add Tag
Copies the source into components/ds/Tag.tsx. You own the file. Use --out to override the directory or --force to overwrite.