{"id":24383312,"url":"https://github.com/firstandthird/floating-label","last_synced_at":"2026-04-26T14:31:36.135Z","repository":{"id":11497027,"uuid":"13973119","full_name":"firstandthird/floating-label","owner":"firstandthird","description":"Javascript library to create floating labels for input fields","archived":false,"fork":false,"pushed_at":"2016-12-23T17:31:02.000Z","size":700,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-04T09:40:24.110Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/firstandthird.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-10-30T00:47:19.000Z","updated_at":"2013-11-22T03:01:03.000Z","dependencies_parsed_at":"2022-09-25T04:20:22.210Z","dependency_job_id":null,"html_url":"https://github.com/firstandthird/floating-label","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firstandthird%2Ffloating-label","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firstandthird%2Ffloating-label/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firstandthird%2Ffloating-label/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firstandthird%2Ffloating-label/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/firstandthird","download_url":"https://codeload.github.com/firstandthird/floating-label/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243258504,"owners_count":20262301,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-19T10:14:13.305Z","updated_at":"2025-12-25T14:40:23.888Z","avatar_url":"https://github.com/firstandthird.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#floating-label\n\nFloating label plugin\n\n##Installation\n\n###Bower\n\n`bower install floating-label`\n\n###Manual Download\n\n- [Development]()\n- [Production]()\n\n##Usage\n\nBasic usage:\n\n```javascript\n// No Options\n$('[placeholder]').floatingLabel();\n\n// Options\n$('[placeholder]').floatingLabel({\n  animateDuration: 200\n});\n```\n\n#### Options\n\n```\ninputEvents: 'propertychange keyup input paste'\nlabelStyles: {\n  display: 'block',\n  position: 'relative'\n}\nanimateDuration: 100\nanimateEasing: function (x, t, b, c, d) {\n  return -c * ((t=t/d-1)*t*t*t - 1) + b;\n}\n```\n\n## API\n\n#### Changing Placeholder\n\nThis will change both the palceholder and the label.\n\n```javascript\n$('#someInput').floatingLabel();\n$('#someInput').floatingLabel('setPlaceholder', 'New Placeholder');\n```\n\n\n##Development\n\n###Requirements\n\n- node and npm\n- bower `npm install -g bower`\n- grunt `npm install -g grunt-cli`\n\n###Setup\n\n- `npm install`\n- `bower install`\n\n###Run\n\n`grunt dev`\n\nor for just running tests on file changes:\n\n`grunt ci`\n\n###Tests\n\n`grunt mocha`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirstandthird%2Ffloating-label","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffirstandthird%2Ffloating-label","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirstandthird%2Ffloating-label/lists"}