primitives/@yashiel/mihcm-ui·v0.1.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 '@yashiel/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 @yashiel/mihcm-cli add TextCopies the source into
components/ui/text. You own the file.soonCLI is currently a stub; ships in v0.2.