27 lines
600 B
Markdown
27 lines
600 B
Markdown
# Input Amount
|
|
|
|
[//]: # 'AUTO INSERT HEADER PREPUBLISH'
|
|
|
|
`lion-input-amount` component is based on the generic text input field. Its purpose is to provide a way for users to fill in an amount.
|
|
|
|
## Live Demo/Documentation
|
|
|
|
> See our [storybook](http://lion-web-components.netlify.com/?path=/docs/forms-input-amount--default-story) for a live demo and API documentation
|
|
|
|
## How to use
|
|
|
|
### Installation
|
|
|
|
```sh
|
|
npm i --save @lion/input-amount
|
|
```
|
|
|
|
```js
|
|
import '@lion/input-amount/lion-input-amount.js';
|
|
```
|
|
|
|
### Example
|
|
|
|
```html
|
|
<lion-input-amount name="amount" currency="USD"></lion-input-amount>
|
|
```
|