DocsSearchButton

A pre-styled Button to open the DocsSearch modal.

This component is only available when the @nuxt/content module is installed.

Usage

The Button is already styled and will render as an icon button if you unset the label. You can override all the Button props as it's the root component.

<template>
  <UDocsSearchButton label="Search..." />
</template>

Props

label
string
"Search..."