Nuxt · UI

NUXT0013Use UButton for interactive buttons

Finds Nuxt project code that should use the supported u button pattern instead.

Why it happens

Native buttons repeat styling, loading, icon, and link behavior that UButton keeps consistent with the project's Nuxt UI theme.

Fix

Use the Nuxt-supported u button pattern instead.

Example

Use UButton

Before

<template>
  <button type="button">Save</button>
</template>

After

<template>
  <UButton type="button">Save</UButton>
</template>

Verify the fix

Run only this rule after editing so the report stays focused on the diagnostic you are closing:

pnpm nuxt doctor --rules nuxt-ui/prefer-u-button
Copyright © 2026