Skip to content

Increment

An input field with buttons to increase or decrease a numerical value.

When to Use

  • In a checkout form to adjust the quantity of items.

Usage

ts
import { ref } from 'vue';
import { Increment } from '@youcan/alto';

const quantity = ref('0');
vue
<Increment v-model="quantity" />

API Reference