BlogPlaygroundOne

VEmptyState API


Props
name
type
default
string
undefined

The text used for the action button.

string
undefined

Applies specified color to the control’s background. Used on components that also support the color prop. - supports utility colors with or without bg- prefix (for example success, purple or bg-purple) or CSS color (#033 or rgba(255, 0, 0, 0.5)). Find a list of built-in classes on the colors page.

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
undefined

A large headline often used for 404 pages.

string | number
undefined

Sets the height for the component.

string
undefined

The URL the action button links to.

  | string
  | (string | [string, number])[]
  | (new () => any)
  | FunctionalComponent
undefined

Apply a specific icon using the v-icon component.

string
undefined

Apply a specific image using v-img.

'end' | 'start' | 'center'
'center'

Control the justification of the text.

string | number
undefined

Sets the maximum height for the component.

string | number
undefined

Sets the maximum width for the component.

string | number
undefined

Sets the minimum height for the component.

string | number
undefined

Sets the minimum width for the component.

string | number
undefined

The size used to control the dimensions of the media element inside the component. Can be specified as a number or a string (e.g., ‘50%’, ‘100px’).

string
undefined

Specify content text for the component.

string | number
500

Sets the width of the text container.

string
undefined

Specify a theme for this component and all of its children.

string
undefined

Specify a title text for the component.

string
undefined

The URL the action button links to.

string | number
undefined

Sets the width for the component.

Events
name
type
[Event]

Event emitted when the action button is clicked.

Slots
{ props: { onClick: (e: Event) => void } }
never
never
never
never
never

Slot for the action button.

The default Vue slot.

Slot for the component’s headline.

Slot for the component’s media.

Slot for the component’s text content.

Slot for the component’s title content.

SASS Variables
name
default
initial
initial
8px
16px
24px 0
functions.theme-color('on-surface', var(--v-medium-emphasis-opacity))
functions.map-deep-get(settings.$typography, 'display-large', 'size')
functions.map-deep-get(settings.$typography, 'display-large', 'weight')
functions.map-deep-get(settings.$typography, 'display-large', 'line-height')
8px
functions.map-deep-get(settings.$typography, 'headline-large', 'size')
16px
functions.theme-color('on-surface', var(--v-medium-emphasis-opacity))
100%
16px
functions.map-deep-get(settings.$typography, 'body-medium', 'size')
functions.map-deep-get(settings.$typography, 'body-medium', 'weight')
functions.map-deep-get(settings.$typography, 'body-medium', 'line-height')
0 16px
functions.map-deep-get(settings.$typography, 'title-large', 'size')
functions.map-deep-get(settings.$typography, 'title-large', 'weight')
functions.map-deep-get(settings.$typography, 'title-large', 'line-height')
4px