Components
Multiline text input taking a name and optional onChange, in controlled or uncontrolled mode. Comes in three sizes aligned with other inputs, faded and headless variants, error and disabled states, a resize property (auto-grow or fixed), FormControl integration and a TextArea.Aligner for headless layouts.
npx @21st-dev/cli add reshaped/reshaped-text-areaLoading preview...
import { Reshaped } from "reshaped/bundle";
import TextArea from "@/components/ui/reshaped-text-area";
export default function Demo() {
return (
<Reshaped theme="slate">
<div style={{ maxWidth: 400, width: "100%", margin: "0 auto", padding: 24 }}>
<TextArea name="desc" resize="auto" placeholder="Insert multiline text here" />
</div>
</Reshaped>
);
}
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...