mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
16 lines
315 B
Vue
16 lines
315 B
Vue
<script setup lang="ts">
|
|
const value = ref(5)
|
|
</script>
|
|
|
|
<template>
|
|
<UInputNumber v-model="value">
|
|
<template #decrement>
|
|
<UButton size="xs" icon="i-lucide-minus" />
|
|
</template>
|
|
|
|
<template #increment>
|
|
<UButton size="xs" icon="i-lucide-plus" />
|
|
</template>
|
|
</UInputNumber>
|
|
</template>
|