Movatterモバイル変換


[0]ホーム

URL:


Framework:


Hire UsGet CoreUI PRO all-access

React Form Textarea Component

Form Textarea

React textarea components. Give textual form `<textarea>`s an upgrade with custom styles, sizing, focus states, validation, and more.

Other Frameworks

CoreUI components are available as native Angular, Bootstrap (Vanilla JS), and Vue components. To learn more please visit the following pages.

On this page

Example#

Must be 8-20 words long.

If you need to add custom classNames to form's components, or need to add some custom elements you can add each form component separately. Please check the example below.

<CFormLabelhtmlFor="exampleFormControlTextarea1">Example textarea</CFormLabel>
<CFormTextareaid="exampleFormControlTextarea1"rows={3}></CFormTextarea>
<CFormTextas="span"id="passwordHelpInline">Must be 8-20 words long.</CFormText>

Disabled#

Add thedisabled boolean attribute on an textarea to give it a grayed out appearance and remove pointer events.

Readonly#

Add thereadOnly boolean attribute on an textarea to prevent modification of the textarea's value. Read-only textareas appear lighter (just like disabled textareas), but retain the standard cursor.

API#

Check out the documentation below for a comprehensive guide to all the props you can use with the components mentioned here.

CoreUI for React is Open Source UI Components Library for React.js.

CoreUI code licensedMIT, docsCC BY 3.0. CoreUI PRO requires acommercial license.


[8]ページ先頭

©2009-2025 Movatter.jp