Textarea

Playground

Properties

Read only
Error
Disabled

Content

Placeholder

Usage

value와 onChange로 입력을 제어합니다. 줄바꿈을 유지하며 길이 제한은 앱에서 지정합니다.

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

export default function Example() {
  return (
    <Textarea
      aria-label={"텍스트"}
      placeholder={"텍스트를 입력해 주세요."}
      rows={4}
    />
  );
}

Playground의 Code 탭에서 현재 설정과 동작이 포함된 예제 전체를 복사할 수 있습니다. 공통 CSS 설치는 설치하기를 확인하세요.

Composition