flexible-input icon indicating copy to clipboard operation
flexible-input copied to clipboard

Autosizing <input> and <textarea> elements, which expand and shrink to fit contents

Flexible <input> and <textarea> elements

This package implements flexible <input> and <textarea> which expand and shrink to fit the content.

Usage

Installation:

npm install flexible-input

Usage:

import {FlexibleInput} from 'flexible-input';

<FlexibleInput
  value={value}
  onChange={onChange}
  typeahead={'...'}
/>

Preview

See demo.