marko-floating-label

1.0.1 • Public • Published

marko-floating-label

This Marko Widget will render the Float Label Pattern for form input text fields. On User Interaction with an input field the placeholder value moves up, and is displayed above the typed text.

Note: This is a Marko v3 Widget

Installation

Install this package into the project that wants to utilize these sample custom tags:

npm install marko-floating-label --save

After this package has been installed, the widget exported by this package can then be used within Marko templates found in the parent project:

Usage Examples

<app-floating-label label="Name" />
<app-floating-label label="Email" type="email" />
<app-floating-label label="Password" type="password" />

Readme

Keywords

none

Package Sidebar

Install

npm i marko-floating-label

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • danrichman