---
url: "https://vueda.dev/v3/reference/api/vue/FormMessage.md"
title: "FormMessage"
---

# FormMessage

## Overview

Renders form-scope non-field validation feedback as a single Alert. When
multiple messages are present, they are rendered as a list inside one
Alert rather than as a stack of separate alerts.

Theme entry: [FormMessage](/v3/reference/theming/keys/FormMessage.md)

## Props

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| <span id="prop-themeOverride">themeOverride</span> | `Object` |  | `null` | A partial ThemeObject keyed by component name, merged over this component's theme and provided to descendants. |
| <span id="prop-class">class</span> | `import('vue').HTMLAttributes['class']` |  | `undefined` | Additional CSS classes to apply to the root element. |
| <span id="prop-type">type</span> | `string` |  | `"error"` | Whether to render errors (`"error"`) or warnings (`"message"`). |

## Slots

### `default` {#slot-default}

Scoped slot.

#### Bindings

| Name | Description |
| --- | --- |
| <span id="slot-default-param-message">message</span> |  |

## Source

`client/lib/form/form-model/FormMessage.vue`
