Skip to content

Empty State

Empty state for missing data or first-run onboarding.

Usage

vue
<script setup>
import { ArchEmptyState, ArchButton } from "@archora/ui";
</script>

<template>
  <ArchEmptyState title="No projects" description="Create a project to start." variant="outlined">
    <template #actions><ArchButton>Create project</ArchButton></template>
  </ArchEmptyState>
</template>

Live sandbox

Empty State can be tested directly on this page.

interactive

No projects

Create a project to start.

<EmptyState />

Props

PropTypeDefaultDescription
titlestring-Title.
descriptionstring-Description.
align"start" | "center""center"Alignment.
size"sm" | "md" | "lg""md"Size.
variant"plain" | "subtle" | "outlined""plain"Visual variant.

Slots

SlotPropsDescription
actions-State actions.