Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.02 KB

textarea-autosize.md

File metadata and controls

25 lines (18 loc) · 1.02 KB
product title components githubLabel
material-ui
Textarea Autosize React component
TextareaAutosize
component: TextareaAutosize

Textarea Autosize

The Textarea Autosize component gives you a textarea HTML element that automatically adjusts its height to match the length of the content within.

Migrate to MUI Base

:::warning Textarea Autosize is now part of the standalone MUI Base component library. It is currently re-exported in @mui/material for convenience, but it may be deprecated in a future major version of Material UI.

To continue using this component and avoid future breaking changes, we strongly recommend that you install MUI Base and import this component from the @mui/base package:

import TextareaAutosize from '@mui/base/TextareaAutosize';

Please refer to the Textarea Autosize component page in the MUI Base docs for examples and details on usage. :::