Docs
Textarea
Textarea
Displays a form textarea or a component that looks like a textarea.
import * as React from "react";
import { css } from "@pigment-css/react";
import { Textarea } from "@/components/ui/textarea";
export function TextareaExample(): React.JSX.Element {
return (
<Textarea className={css({ maxWidth: "350px" })} placeholder="Product short description" />
);
}
Installation
npx lotru@latest add ui/textarea
Usage
import { Textarea } from "@/components/ui/textarea";
<Textarea />
On this page