A notice is an informational and assistive message that appears inline with content.

Preview

Usage

A notice delivers informational and assistive messages that inform the user about product or account statuses and related actions. It can suggest an action or dismissed by the user, though neither are required. For time-based notifications, see Toast.

Variants and Examples

Base Styles

Used in most scenarios when the message should be noticeable but not dominate.

Important

Used occasionally in scenarios when the message needs to dominate.

Truncate Text

Truncates the text instead of wrapping it. Useful when the Notice needs to have a fixed height.

Vue API

Slots

Name
Description
action

Enter a possible action for the user to take, such as a link to another page

default

the main textual content of the notice

icon

Slot for custom icon

titleOverride

Allows you to override the title, only use this if you need

Props

Name
Description
Default
contentId

Sets an ID on the content element of the component. Useful for aria-describedby or aria-labelledby or any other reason you may need an id to refer to the content.

Type: string
undefined
hideAction

Hides the action from the notice

Type: boolean
Values: truefalse
false
hideClose

Hides the close button from the notice

Type: boolean
Values: truefalse
false
hideIcon

Hides the icon from the notice

Type: boolean
Values: truefalse
false
important

Used in scenarios where the message needs to visually dominate the screen. This will also change the aria role from status to alert.

Type: boolean
Values: truefalse
false
kind

Severity level of the notice, sets the icon and background

Type: string
Values: baseerrorinfosuccesswarning
'base'
role

Provides a role for the notice. 'status' is used to communicate a message. 'alert' is used to communicate an important message that does not contain any interactive elements. 'alertdialog' is used to communicate an important message that does contain interactive elements.

Type: string
Values: alertalertdialogstatus
'status'
title

Title header of the notice. This can be left blank to remove the title from the notice entirely.

Type: string
''
titleId

Sets an ID on the title element of the component. Useful for aria-describedby or aria-labelledby or any other reason you may need an id to refer to the title.

Type: string
undefined
truncateText

Truncates the content instead of wrapping. Used when the notice needs to have a fixed height.

Type: boolean
Values: truefalse
false

Events

Name
Description
click

Native button click event

Type: PointerEvent | KeyboardEvent
close

Close button click event

Classes

Class
Applies to
Description

Accessibility

Item
Applies to
Description
Notice documentation last updated Thursday, June 11, 2026