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

Label

Form field label. Pairs with Input/Switch/Checkbox via htmlFor. Optional required suffix.

Live preview

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

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

export function Example() {
  return (
    <Label
  tone="default"
    >
      Email address
    </Label>
  );
}

Install

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

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