Component

Vue Empty State Component

<DomEmptyState>

A reusable empty, zero-data, or setup state with icon, copy, and actions.

Playground

Try every prop live

Empty state playground

Adjust the props to explore sizing, content, and behaviour.

Nothing here yet

Create something new or adjust your filters to continue.

Playground.vuevue
Install
npm install @getdom/studio
vue
<script setup>
import '@getdom/studio/style.css';
import { reactive } from 'vue';
import { DomEmptyState } from '@getdom/studio';

const data = reactive({
		"title": "Nothing here yet",
		"description": "Create something new or adjust your filters to continue.",
		"icon": "M5 12h14M12 5v14",
		"align": "center",
		"size": "md"
	});
</script>

<template>
	<DomEmptyState
		v-bind="data"
	/>
</template>

Reference

Props

Control props

NameTypeTSDefaultDescription
titlestringstring'Nothing here yet'Primary empty-state message.
descriptionstringstring'Create something new or adjust your filters to continue.'Supporting copy.
iconstringstring'M5 12h14M12 5v14'SVG path data for the default 24x24 line icon.
align'left' | 'center'string'center'Content alignment.
size'sm' | 'md' | 'lg'string'md'Spacing scale.

Auto-generated from Empty state.props and inline _edit hints.

Slots

NameScopeDescription
#icon—Custom icon or illustration.
#title—Custom title markup.
#description—Custom helper text.
#actions—Primary and secondary actions.