navigation/@mihcm/ui·v0.21.0·stable
Link
Semantic navigation and reference primitive. Seven variants, safe external-link defaults, and tokenized Tailwind overrides. Universal across web and native.
Live preview
Adjust the controls on the right; the preview and code update in real time.
example.tsxtsx
import { Link } from '@mihcm/ui/Link';
export function Example() {
return (
<Link
href={"/components/button/usage"}
>
{"Read component guidance"}
</Link>
);
}Install
Both paths are valid. CLI ships the source into your repo (you own it). Install pins via npm.
npx @mihcm/cli add LinkCopies the source into
components/ds/Link.tsx. You own the file. Use --out to override the directory or --force to overwrite.