Skip to content

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

Notifications You must be signed in to change notification settings

streamich/flexible-input

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Sponsor this project