Skip to content

Increment

A form input field with increment and decrement buttons.

Usage

vue
<script setup lang="ts">
import { ref } from 'vue';
import { Increment } from '@youcan/ui-vue3';

const quantity = ref('0');
</script>

<template>
  <Increment v-model="quantity" />
</template>

API Reference