# Message (@salmonui/notifications/message)

> The Message function of @salmonui/notifications/message: Message. Styling hooks: .salmon-message with data-tone, data-variant, data-align; parts .salmon-message-icon, -body (the title and the children), -title, -action, -dismiss; .salmon-message-live is the live region wrapper. To fit the 0.75 KB budget a data-* hook is written only when its prop is set; the stylesheet applies the defaults.

Canonical: https://salmonui.dev/docs/reference/notifications/message/Message

```ts
import { Message } from '@salmonui/notifications/message';
```

Entry index: https://salmonui.dev/docs/reference/notifications/message (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/notifications/message.md).

## Reference

Kind: function

```ts
function Message(props: MessageProps): ReactElement;
```

Message. Styling hooks: `.salmon-message` with `data-tone`,
`data-variant`, `data-align`; parts `.salmon-message-icon`, `-body` (the
title and the children), `-title`, `-action`, `-dismiss`; `.salmon-message-live` is the
live region wrapper. To fit the 0.75 KB budget a `data-*` hook is written
only when its prop is set; the stylesheet applies the defaults.
