# multi-word-component-names

Rule `vue/multi-word-component-names`. Require component names to be always multi-word

- Source: vue
- Technologies: Vue
- Kind: style
- Needs type information: no
- Autofix: no
- Reach: 40.1M weekly downloads of presets that enable it
- Trend: +90.0% last quarter
- Rank: #452 by reach, #291 by growth

## Linters

| Linter | Rule name | Recommended | Autofix | Details | Docs |
| --- | --- | --- | --- | --- | --- |
| ESLint | `vue/multi-word-component-names` | yes | no | package `eslint-plugin-vue` | [docs](https://eslint.vuejs.org/rules/multi-word-component-names.html) |
| Biome | `style/useVueMultiWordComponentNames` | yes | no | group style, since 2.2.3 | [docs](https://biomejs.dev/linter/rules/use-vue-multi-word-component-names/) |

## Code examples

### Incorrect: the rule reports this

```vue
<script setup>
// ...
</script>
```

### Correct: the rule accepts this

```vue
<script setup>
// ...
</script>
```

```vue
<script setup>
// ...
</script>
<script>
export default {
  name: 'TodoItem'
}
</script>
```

```vue
<script setup>
// ...
</script>
```

Examples from the ESLint documentation.

## Enable it

### ESLint: `eslint.config.js`

```js
import vue from "eslint-plugin-vue";

export default [
  {
    plugins: { vue },
    rules: {
      "vue/multi-word-component-names": "error",
    },
  },
];
```

### Biome: `biome.json`

```json
{
  "linter": {
    "rules": {
      "style": {
        "useVueMultiWordComponentNames": "error"
      }
    }
  }
}
```

## Presets that enable it

| Preset | Linter | Package | Rules | Weekly downloads | Trend |
| --- | --- | --- | --- | --- | --- |
| [Biome recommended](https://lintradar.dev/presets/biome-recommended.md) | Biome | `@biomejs/biome` | 491 | 28.5M | +106.8% |
| [Vue recommended](https://lintradar.dev/presets/vue-recommended.md) | ESLint | `eslint-plugin-vue` | 118 | 9.5M | +46.6% |
| [Vue essential](https://lintradar.dev/presets/vue-essential.md) | ESLint | `eslint-plugin-vue` | 85 | 9.5M | +46.6% |
| [Vue strongly recommended](https://lintradar.dev/presets/vue-strongly-recommended.md) | ESLint | `eslint-plugin-vue` | 110 | 9.5M | +46.6% |
| [Ultracite for Biome](https://lintradar.dev/presets/ultracite-biome.md) | Biome | `ultracite` | 616 | 2.1M | +151.7% |

## Related rules

- [vue/prefer-separate-static-class](https://lintradar.dev/rules/vue/prefer-separate-static-class.md): Require static class names in template to be in a separate `class` attribute
- [vue/next-tick-style](https://lintradar.dev/rules/vue/next-tick-style.md): Enforce Promise or callback style in `nextTick`
- [vue/no-import-compiler-macros](https://lintradar.dev/rules/vue/no-import-compiler-macros.md): Disallow importing Vue compiler macros
- [vue/enforce-style-attribute](https://lintradar.dev/rules/vue/enforce-style-attribute.md): Enforce or forbid the use of the `scoped` and `module` attributes in SFC top level style tags
- [vue/no-boolean-default](https://lintradar.dev/rules/vue/no-boolean-default.md): Disallow boolean defaults
- [vue/no-root-v-if](https://lintradar.dev/rules/vue/no-root-v-if.md): Disallow `v-if` directives on root element

---

Web page: https://lintradar.dev/rules/vue/multi-word-component-names. Data from npm and the linters' documentation, collected Dec 4, 2026. Site guide for agents: https://lintradar.dev/llms.txt
