
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
@polymer/paper-input
Advanced tools
<paper-input>
is a single-line text field with Material Design styling.
See: Documentation, Demo.
npm install --save @polymer/paper-input
<html>
<head>
<script type="module">
import '@polymer/paper-input/paper-input.js';
</script>
</head>
<body>
<paper-input always-float-label label="Floating label"></paper-input>
</body>
</html>
import {PolymerElement, html} from '@polymer/polymer';
import '@polymer/paper-input/paper-input.js';
class SampleElement extends PolymerElement {
static get template() {
return html`
<paper-input always-float-label label="Floating label"></paper-input>
`;
}
}
customElements.define('sample-element', SampleElement);
If you want to send a PR to this element, here are the instructions for running the tests and demo locally:
git clone https://github.com/PolymerElements/paper-input
cd paper-input
npm install
npm install -g polymer-cli
polymer serve --npm
open http://127.0.0.1:<port>/demo/
polymer test --npm
FAQs
Material design text fields
The npm package @polymer/paper-input receives a total of 22,741 weekly downloads. As such, @polymer/paper-input popularity was classified as popular.
We found that @polymer/paper-input demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 10 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.