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

3.4.1 • 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

Dependencies (0)

    Dev Dependencies (13)

    Package Sidebar

    Install

    npm i text-fields

    Weekly Downloads

    17

    Version

    3.4.1

    License

    MIT

    Unpacked Size

    89.9 kB

    Total Files

    27

    Last publish

    Collaborators

    • ux-ui