mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
Co-authored-by: Pooya Parsa <pooya@pi0.io> Co-authored-by: Florent Delerue <florentdelerue@hotmail.com> Co-authored-by: Sébastien Chopin <seb@nuxt.com>
22 lines
436 B
Vue
22 lines
436 B
Vue
<script setup>
|
|
const page = ref(1)
|
|
const items = ref(Array(55))
|
|
</script>
|
|
|
|
<template>
|
|
<UPagination
|
|
v-model="page"
|
|
:total="items.length"
|
|
:ui="{
|
|
wrapper: 'flex items-center gap-1',
|
|
rounded: '!rounded-full min-w-[32px] justify-center'
|
|
}"
|
|
:prev-button="null"
|
|
:next-button="{
|
|
icon: 'i-heroicons-arrow-small-right-20-solid',
|
|
color: 'primary',
|
|
variant: 'outline'
|
|
}"
|
|
/>
|
|
</template>
|