text-fields
TypeScript icon, indicating that this package has built-in type declarations

3.3.2 • Public • Published

text-fields

npm GitHub package version NPM Downloads

TextFields is designed to create and manage text fields with advanced visuals and functionality, including dynamic notched outlines, floating labels, and adaptive text areas.

1kB gzipped

Demo


Install

yarn add text-fields

Import

import TextFields from 'text-fields';

CSS

@import "text-fields/dist/";

if your bundler supports SCSS

@import "text-fields/src/";

Usage

document.addEventListener('DOMContentLoaded', () => {
  const textFields = new TextFields();

  textFields.init().then(() => {
    console.log('Text fields are ready!');
  }).catch(error => {
    console.error('Initialization failed:', error);
  });
});

License

text-fields is released under MIT license

Package Sidebar

Install

npm i text-fields

Weekly Downloads

30

Version

3.3.2

License

MIT

Unpacked Size

89 kB

Total Files

27

Last publish

Collaborators

  • ux-ui