Components

BaseToast

The toast card rendered by AppToast. Pages never render it: they call useToast().

components/ui/BaseToast.vue
View in the demo

Types

Product created
Laptop Pro 15" is now visible in the store.
Changes saved automatically
×3
Saving product…
Export in progress

With useToast()

These buttons show real toasts in the corner of this page.

API

Props

Name
Type
Default
Description
title
required
string—The message.
typeToastType"neutral"success, info, warning, error, neutral or loading.
descriptionstring—A second line.
action-labelstring—Adds an action button.
countnumber1How many identical toasts were merged.
durationnumberNumber.POSITIVE_INFINITYMilliseconds before it expires.
progressbooleanfalseShows the remaining time.
pausedbooleanfalsePauses the timer (on hover or focus).
timer-keystring | number0Restarts the timer when it changes.

Events

Name
Payload
Description
@close—The close button was pressed.
@action—The action was pressed.
@expire—The time ran out.
© 2026 melsami UI.
Developer documentation for melsami UI.