Textarea

Playground

Properties

Read only
Error
Disabled

Content

Placeholder

Usage

Use value and onChange to manage the text in your app. Preserve line breaks and set any length limit.

'use client';
import { Textarea } from '@mbsw/ui';

export default function Example() {
  return (
    <Textarea
      aria-label={"Text"}
      placeholder={"Enter text."}
      rows={4}
    />
  );
}

The Playground Code tab includes the full example with your current settings. See Installation for the CSS imports.

Composition