JavaScript Library To Animate Placeholder Text In Input Fields

active-placeholder is a lightweight JavaScript for moving placeholder text in an input field.

input placeholder animation, placeholder to label animation, placeholder text with typing effect, animated input fields, placeholder animation js

How to make use of it:

1. Simply download the text of the active placeholder and embed it in your document.

<script src="active-placeholder.js"></script>

2. Select an array of strings for the animated placeholder text that you want to rotate through.

var myInput = document.getElementById('myInput');
var activePlaceholder = new ActivePlaceholder(
myInput, 'I Love', ['JavaScript', 'Python']);

3. Start the animation.

activePlaceholder.start();

4. Stop animation.

activePlaceholder.stop();

Read More –

Modern Low-Quality Image Placeholders | LQIP-Modern
Input With Animated Placeholder Similar to the Google Login

Animated Placeholder Text In Text Field, active-placeholder Plugin/Github


See Demo And Download

Official Website(derekxwu): Click Here

This superior jQuery/javascript plugin is developed by derekxwu. For extra Advanced Usage, please go to the official website.

Share