---
components: ["InlineNotification", "NotificationActionButton"]
---
Notification that appears inline.
See [detailed
usage](https://carbondesignsystem.com/components/notification/usage).
See also: [ToastNotification](ToastNotification)
## Default (error)
## Prevent default close behavior
`InlineNotification` is a controlled component. Prevent the default close behavior using the `e.preventDefault()` method in the dispatched `on:close` event.
{
e.preventDefault();
// custom close logic (e.g., transitions)
}} />
## Slottable title, subtitle
Error:
An internal server error occurred.
## Accessible icon descriptions
The status icon and close button icon descriptions appear on cursor hover and are read
by assistive technology. Default descriptions are provided in English and can be
overridden via `statusIconDescription` and `closeButtonDescription`.
## Hidden close button
## With actions
Learn more
## Notification variants
## Low contrast