flex-textarea components which can grow.
This package is still in WIP, please do not use it now.
- Small: Just 2 KB gzipped js and 2 KB gzipped css.
- Fast: Built with hooks and functional components only.
- Simple: The interface is straight forward and easy to use.
- No dependencies
You can try it on live demo page
npm install react-flex-textarea
import { FlexTextarea } from "react-flex-textarea";
import "react-flex-textarea/dist/index.css";
const ControlledTextArea = () => {
const [value, setValue] = useState('Hello. I am growable text area 🎉');
return <FlexTextarea value={value} onChange={setValue} />;
};
Also you can find a growable <Textarea />
component in exports