ComponentsInputs & forms
Textarea
A multiline text field that grows with its content and counts characters.
"use client";
import { TextArea } from "@/components/miyuki-ui/textarea";
export default function TextAreaDemo() {
return (
<TextArea
className="w-full max-w-md"
label="Trip notes"
placeholder="Snow conditions, who you met, what you would do differently."
maxLength={240}
defaultValue="Fresh powder above the Happo-one gondola until noon, then wind crust on the north faces. Lars from ski patrol pointed us to the tree runs off the Kokusai lift."
/>
);
}Install
npx shadcn@latest add @miyuki-ui/textareaThis needs the @miyuki-ui registry in your components.json. See Using the shadcn CLI.
Props
TextArea
Prop
Type