https://github.com/zecat/paper-number-input
A Material Design input field for numric values with step up/down buttons (Polymer 2)
https://github.com/zecat/paper-number-input
Last synced: 6 months ago
JSON representation
A Material Design input field for numric values with step up/down buttons (Polymer 2)
- Host: GitHub
- URL: https://github.com/zecat/paper-number-input
- Owner: Zecat
- Created: 2017-06-11T13:13:26.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-11-19T00:06:12.000Z (over 7 years ago)
- Last Synced: 2025-08-11T04:15:51.691Z (10 months ago)
- Language: HTML
- Homepage: https://www.webcomponents.org/element/Zecat/paper-relative-integer-input
- Size: 49.8 KB
- Stars: 6
- Watchers: 1
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://www.webcomponents.org/element/Zecat/paper-number-input)
# \
A Material Design input field for numeric values with step up/down buttons (Polymer 2).
```html
```
## Installation
```bash
bower install -S Zecat/paper-number-input
```
## Usage
For icons to appear, you can either:
- just import the iron-icons/iron-icons.html Polymer element - it is a dependency of this element but not imported by default
- create your own icon set and specify `stepDownIcon` and `stepUpIcon` properties according
- import paper-number-input/paper-number-input-icons and define `stepDownIcon` as 'integer-input:step-down' and `stepUpIcon` as 'integer-input:step-up'