DS0007Use the project's component instead of a raw element
Why it happens
A raw element skips the component the project built or installed for it, so it can look and behave differently from every other instance: focus rings, sizes, disabled and loading states, and form field wiring drift. The Rule learns which component replaces which element from Component Contracts, the Nuxt UI component table, or a project SFC named after the element and available through a local import or registration. The Rule skips statically invisible elements, native placeholders styled in local CSS when Nuxt UI is the replacement, and ambiguous replacements. It replaces nuxt-ui/prefer-u-button (NUXT0013) and nuxt-ui/prefer-u-form-controls (NUXT0014). Choose one config setting for the combined Rule: "off" disables both checks. Update suppression IDs and narrow their scope where needed. Regenerate the baseline instead of editing Rule IDs, since the fingerprints have changed.
Fix
Render the replacing component, keep its attributes, v-model, listeners, and content, and move styling classes to the component's props. For Nuxt UI text inputs and textareas, use ui.base for classes that style the native element.
Example
Use UButton in a Nuxt UI app
Before
<template>
<button type="button" @click="save">Save</button>
</template>
After
<template>
<UButton @click="save">Save</UButton>
</template>
Verify the fix
Run only this rule after editing so the report stays focused on the diagnostic you are closing:
pnpm vite-doctor . --extends design-system/strict --rules design-system/prefer-project-component