AgentStack
SKILL verified MIT Self-run

El Input Number

skill-jiaiyan-element-plus-skills-el-input-number · by jiaiyan

InputNumber component for numeric input with controls. Invoke when user needs to input numbers with increment/decrement buttons, set numeric ranges, or enforce numeric input.

No reviews yet
0 installs
10 views
0.0% view→install

Install

$ agentstack add skill-jiaiyan-element-plus-skills-el-input-number

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of El Input Number? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

InputNumber Component

InputNumber allows users to input numeric values with controls and validation.

When to Use

  • Quantity inputs
  • Numeric settings
  • Range-limited numbers
  • Precise numeric input

Basic Usage


  

import { ref } from 'vue'

const num = ref(1)

Disabled


  

Steps


  

Step Strictly


  

Precision


  

Sizes


  
  
  

Controls Position


  

API Reference

Attributes

| Name | Description | Type | Default | |------|-------------|------|---------| | model-value / v-model | Binding value | number | 0 | | min | Minimum value | number | -Infinity | | max | Maximum value | number | Infinity | | step | Increment step | number | 1 | | step-strictly | Require step multiples | boolean | false | | precision | Decimal precision | number | — | | size | Size | 'large' \| 'default' \| 'small' | 'default' | | disabled | Whether disabled | boolean | false | | controls | Show control buttons | boolean | true | | controls-position | Button position | '' \| 'right' | — | | name | Native name attribute | string | — | | label | Aria label | string | — | | placeholder | Placeholder | string | — | | value-on-clear | Value when cleared | 'min' \| 'max' \| number \| null | null |

Events

| Name | Description | Type | |------|-------------|------| | change | Triggers when value changes | (value: number, oldValue: number) => void | | input | Triggers on input | (value: number \| null \| undefined) => void | | blur | Triggers on blur | (event: FocusEvent) => void | | focus | Triggers on focus | (event: FocusEvent) => void |

Slots

| Name | Description | |------|-------------| | decrease | Custom decrease button | | increase | Custom increase button |

Exposes

| Name | Description | Type | |------|-------------|------| | focus | Focus the input | () => void | | blur | Blur the input | () => void |

Best Practices

  1. Set min and max for valid ranges
  2. Use precision for decimal numbers
  3. Use controls-position="right" for compact layouts

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.