Skip to main content
You are viewing Pre-Alpha documentation.
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.

Snackbar.Root

Props

namespace

string

Namespace for dependency injection.

Default: "v0:notifications"

id

ID

Unique identifier. Auto-generated if not provided.

Default: useId()

Events

dismiss

[id: ID]

Slots

default

SnackbarRootSlotProps

Snackbar.Close

Props

namespace

string

Namespace for dependency injection.

Default: "v0:notifications"

Slots

default

SnackbarCloseSlotProps

Snackbar.Portal

Props

teleport

string | false

Teleport target. `false` renders inline.

Default: "body"

Slots

default

SnackbarPortalSlotProps

Snackbar.Queue

Props

namespace

string

Which notifications instance to connect to.

Default: "v0:notifications"

Slots

default

SnackbarQueueSlotProps
Was this page helpful?

© 2016-1970 Vuetify, LLC
Ctrl+/