primitives/@mihcm/ui·v0.21.0·stable
Textarea
Multi-line text entry. Shares the variant + invalid model with Input.
Live preview
Adjust the controls on the right; the preview and code update in real time.
example.tsxtsx
import { Textarea } from '@mihcm/ui/Textarea';
export function Example() {
return (
<Textarea
placeholder="Type your message here..."
rows="3"
variant="default"
></Textarea>
);
}Install
Both paths are valid. CLI ships the source into your repo (you own it). Install pins via npm.
npx @mihcm/cli add TextareaCopies the source into
components/ds/Textarea.tsx. You own the file. Use --out to override the directory or --force to overwrite.