primitives/@mihcm/ui·v0.21.0·stable
Text
Type primitive. Type scale, weight, and tone — semantic tokens only.
Live preview
Adjust the controls on the right; the preview and code update in real time.
The quick brown fox jumps over the lazy dog.
example.tsxtsx
import { Text } from '@mihcm/ui/Text';
export function Example() {
return (
<Text
size="base"
weight="normal"
tone="default"
>
The quick brown fox jumps over the lazy dog.
</Text>
);
}Install
Both paths are valid. CLI ships the source into your repo (you own it). Install pins via npm.
npx @mihcm/cli add TextCopies the source into
components/ds/Text.tsx. You own the file. Use --out to override the directory or --force to overwrite.