Skip to content
R

react-debounce-input

React component that renders Input with debounced onChange

by nkbtFree

#114in UI Libraries
0In stores

Description

react-debounce-input is a React component that renders an input, a textarea or another element, and calls your onChange handler only after t…

Highlights

  • Debounced onChange for inputs and textareas
  • Drop-in replacement for a plain input
  • Adjustable debounce delay, 100 ms by default
  • Notify on Enter key
  • Works with custom React components

Ratings & Reviews

No ratings yet

Be the first to rate react-debounce-input.

People also visit

R

react-number-format

React component to format number in an input or as a text

UI Libraries
Launch
R

react-tagsinput

A simple react component for inputing tags

UI Libraries
Launch
R

react-autosize-textarea

replacement for built-in textarea which auto resizes itself

UI Libraries
Launch
R

react-input-mask

Input masking component for React. Made with attention to UX

UI Libraries
Launch
R

react-typeahead

React-based typeahead and typeahead-tokenizer

UI Libraries
Launch
R

react-textarea-autosize

component for React which grows with content

UI Libraries
Launch

react-debounce-input FAQ

What does react-debounce-input do?

It wraps an input so that onChange fires after typing pauses. The delay is set by debounceTimeout and is 100 ms by default.

How do I install it?

With npm or yarn, then import the component into your React code. The README also describes a script tag version.

Can I use it for a textarea?

Yes. Set element to textarea. The README suggests setting forceNotifyByEnter to false there, so people can start new lines without triggering a notification.

Can it wrap my own component?

Yes. You can pass a custom React component as the element, as long as it works with value and onChange props.

Is it free?

The source is public on GitHub, so the project is open source.

What are the best react-debounce-input alternatives?

Popular alternatives to react-debounce-input include react-number-format, react-tagsinput and react-autosize-textarea. See all react-debounce-input alternatives

Developer Stuff

Badges