BlogPlaygroundOne

VMessages API


Props
name
type
default
boolean
false

Determines whether the messages are visible or not.

string
undefined

Applies specified color to the control - supports utility colors with or without text- prefix (for example success, purple or text-purple) or CSS color (#033 or rgba(255, 0, 0, 0.5)). Find a list of built-in classes on the colors page.

string | string[]
[]

Displays a list of messages or a single message if using a string.

  | string
  | boolean
  | (TransitionProps & { component: Component })
  | { component: Component; leaveAbsolute: boolean; group: boolean }
{
  component: {name: 'slide-y-transition'},
  leaveAbsolute: true,
  group: true
}

Sets the component transition. Can be one of the built in or custom transition.

Slots
{ message: string }

Slot used to customize the message content.

SASS Variables
name
default
tools.theme-color('on-surface', var(--v-medium-emphasis-opacity))
12px
$messages-font-size
14px
150ms