Nuxt Swiftsearch
Components

<AisHitsPerPage>

Lets users choose the number of hits per page.

Usage

<AisInstantSearch :configuration="configuration">
  <AisHitsPerPage
    :items="[
      { label: '8 hits', value: 8, default: true },
      { label: '16 hits', value: 16 },
      { label: '32 hits', value: 32 },
    ]"
  />
</AisInstantSearch>

Props

PropTypeDefaultDescription
itemsArray<{ label: string; value: number; default?: boolean }>requiredAvailable page-size options.
transformItemsfunctionundefinedTransforms option items before rendering.
Copyright © 2026