import React from 'react' import { CButton, CCard, CCardBody, CCardHeader, CCol, CForm, CFormControl, CFormLabel, CRow, } from '@coreui/react' import { DocsCallout, Example } from 'src/reusable' const FormControl = () => { return ( React Form Control
Email address
Example textarea
React Form Control Sizing

Set heights using size property like size="lg" and{' '} size="sm".



React Form Control Disabled

Add the disabled boolean attribute on an input to give it a grayed out appearance and remove pointer events.



React Form Control Readonly

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

React Form Control Readonly plain text

If you want to have <input readonly> elements in your form styled as plain text, use the plainText boolean property to remove the default form field styling and preserve the correct margin and padding.

Email
Password
Email
Password
Confirm identity
React Form Control File input
Default file input example
Multiple files input example
Disabled file input example
Small file input example
Large file input example
React Form Control Color Color picker
) } export default FormControl