Skip to main content
Vuetify0 is now in alpha!
Vuetify0 Logo
Theme
Mode
Palettes
Accessibility
Vuetify One
Sign in to Vuetify One

Access premium tools across the Vuetify ecosystem — Bin, Play, Studio, and more.

Not a subscriber? See what's included

Snackbar API

API reference for the Snackbar components.

Explore these related pages for additional context and usage patterns.

PageCategory
SnackbarSemantic
useNotificationsPlugins
createQueueRegistration

Snackbar.Root

Props

namespace

string | undefined

Namespace for dependency injection.

Default: "v0:notifications"

id

any

Unique identifier. Auto-generated if not provided.

Default: useId()

Events

dismiss

[id: ID]

Slots

default

SnackbarRootSlotProps

Snackbar.Close

Props

namespace

string | undefined

Namespace for dependency injection.

Default: "v0:notifications"

Slots

default

SnackbarCloseSlotProps

Snackbar.Portal

Props

teleport

string | false | undefined

Teleport target. `false` renders inline.

Default: "body"

Slots

default

SnackbarPortalSlotProps

Snackbar.Queue

Props

namespace

string | undefined

Which notifications instance to connect to.

Default: "v0:notifications"

Slots

default

SnackbarQueueSlotProps
Was this page helpful?

Ctrl+/